Skip to content

Commit 73ed308

Browse files
committed
[infra] Fix passing auth token to pnpm
1 parent 1810d22 commit 73ed308

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
if: github.event_name == 'push'
5959
run: node scripts/publish.mjs --provenance
6060
env:
61-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
61+
npm_config_//registry.npmjs.org/:_authToken: ${{ secrets.NPM_TOKEN }}
6262

6363
- name: Publish packages (manual trigger)
6464
if: github.event_name == 'workflow_dispatch'
@@ -75,4 +75,4 @@ jobs:
7575
fi
7676
node scripts/publish.mjs $ARGS
7777
env:
78-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
78+
npm_config_//registry.npmjs.org/:_authToken: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)