Update publish-npm.yml

This commit is contained in:
jeremywu 2020-12-23 23:15:59 +08:00 committed by GitHub
parent 32e96e5e3a
commit 685fb9495e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
TAG_VERSION: ${{env.TAG_VERSION}}
REGISTRY: https://npm.pkg.github.com/
REGISTRY: https://registry.npmjs.com/
publish-gpr:
needs: build
@ -60,6 +60,6 @@ jobs:
- name: Publish
run: sh ./scripts/publish.sh
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
TAG_VERSION: ${{env.TAG_VERSION}}
REGISTRY: https://npm.pkg.github.com/