mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
ci(js): use action for publish to avoid add-account
This commit is contained in:
parent
fad8bb04b2
commit
f5b3a25192
1 changed files with 4 additions and 4 deletions
8
.github/workflows/javascript.yml
vendored
8
.github/workflows/javascript.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue