Skip to content

Commit c117b59

Browse files
Ark0Nclaude
andcommitted
fix: configure npm auth in release workflow
setup-node registry-url creates .npmrc with auth token reference, and NODE_AUTH_TOKEN maps the NPM_TOKEN secret for changesets publish. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e011727 commit c117b59

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
node-version: 20
2222
cache: npm
23+
registry-url: https://registry.npmjs.org
2324

2425
- name: Install dependencies
2526
run: npm ci
@@ -37,4 +38,4 @@ jobs:
3738
commit: "chore: version packages"
3839
env:
3940
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)