Skip to content

Commit

Permalink
chore(ci): fix condition for npm publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
impy88 committed Jun 1, 2021
1 parent a3061f9 commit ec0361e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
run: npm test
- run: npm run build
- run: npm publish
if: ${{ github.event.release.tag_name }} != ''
if: github.event_name == 'release'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit ec0361e

Please sign in to comment.