Skip to content

Commit

Permalink
- modify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
plusone-masaki committed Jan 20, 2022
1 parent e70c30d commit 865a1d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
types: [created]

jobs:
publish-github:
publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v2
- name: Setup for GitHub Packages
- name: Setup for npm
uses: actions/setup-node@v2
with:
node-version: 16.x
Expand All @@ -22,6 +22,6 @@ jobs:
- run: yarn
- run: yarn build
- run: yarn build:demo
- run: yarn publish --access public
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 865a1d9

Please sign in to comment.