Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
publish to latest instead master
  • Loading branch information
q-nick authored Jan 15, 2023
1 parent 59259aa commit 912c1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# build the project
- run: npm run build
# publish to NPM -> there is one caveat, continue reading for the fix
- run: npm publish --tag ${{ github.event.release.target_commitish }}
- run: npm publish --tag latest
env:
# Use a token to publish to NPM. See below for how to set it up
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 912c1c9

Please sign in to comment.