ci(js): use action for publish to avoid add-account

This commit is contained in:
əlemi 2024-09-09 21:18:20 +02:00
parent fad8bb04b2
commit f5b3a25192
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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