Skip to content

Commit f33b58f

Browse files
DaYePythonclaude
andcommitted
ci: fix npm auth for changesets/action@v2 via setup-node registry-url
v2 removed automatic .npmrc creation from NPM_TOKEN (changesets/action#695); token auth now goes through setup-node's registry-url + NODE_AUTH_TOKEN. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 476adc8 commit f33b58f

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
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
node-version: 24
2929
cache: pnpm
30+
registry-url: 'https://registry.npmjs.org'
3031

3132
- name: Install dependencies
3233
run: pnpm install --frozen-lockfile
@@ -49,4 +50,4 @@ jobs:
4950
create-github-releases: true
5051
push-git-tags: true
5152
env:
52-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
53+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)