From 685fb9495ead12f8ad05db61c8e1aa81ee609a94 Mon Sep 17 00:00:00 2001 From: jeremywu <591449570@qq.com> Date: Wed, 23 Dec 2020 23:15:59 +0800 Subject: [PATCH] Update publish-npm.yml --- .github/workflows/publish-npm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 50258bbf3d..35ae125b89 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -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/