Update npm-publish.yml

This commit is contained in:
Derek.H 2024-10-21 19:28:39 +08:00 committed by GitHub
parent d542402aad
commit 080e929518
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm install
- run: npm run build
publish-npm:
@ -27,7 +27,6 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}