Skip to content

Commit

Permalink
ci(js): use action for publish to avoid add-account
Browse files Browse the repository at this point in the history
  • Loading branch information
alemidev committed Sep 9, 2024
1 parent 92e323f commit 460b913
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
working-directory: dist/js/publish
- run: npx napi prepublish -t . --skip-gh-release
working-directory: dist/js/publish
- run: npm publish
working-directory: dist/js/publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: dist/js/publish

0 comments on commit 460b913

Please sign in to comment.