Skip to content

Commit

Permalink
fix(ci.yml): add npm token
Browse files Browse the repository at this point in the history
  • Loading branch information
DawChihLiou committed Aug 28, 2020
1 parent a903944 commit 93a796c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -83,12 +83,8 @@ jobs:
- name: Build package
run: yarn build

- name: Release
- name: Release and Publish to NPM
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 93a796c

Please sign in to comment.