From 072e95bea7ae29ae9e589d40304f0a6c2578980b Mon Sep 17 00:00:00 2001 From: LemonNeko Date: Wed, 2 Apr 2025 20:52:21 +0800 Subject: [PATCH] chore(ci): use both `NODE_AUTH_TOKEN` and `NPM_TOKEN` --- .github/workflows/release-pkg.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-pkg.yaml b/.github/workflows/release-pkg.yaml index bf99f8e46..1ca424362 100644 --- a/.github/workflows/release-pkg.yaml +++ b/.github/workflows/release-pkg.yaml @@ -48,5 +48,6 @@ jobs: - name: Packages publish run: pnpm publish -r --access public --no-git-checks env: - NODE_TOKEN: ${{secrets.NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NPM_TOKEN: ${{secrets.NPM_TOKEN}} NPM_CONFIG_PROVENANCE: true