Update npm-publish.yml

This commit is contained in:
weisheng 2023-08-17 13:52:03 +08:00 committed by GitHub
parent a479f14b63
commit 2b94db030f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Compiler
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm run compiler
publish-gpr:
needs: build
@ -27,7 +29,6 @@ jobs:
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm run compiler
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}