Skip to content

Commit c4fa18f

Browse files
AgentEnderclaude
andcommitted
fix(ci): configure npm OIDC trusted publishing correctly
- Remove incorrect NODE_AUTH_TOKEN (GITHUB_TOKEN is for GitHub Packages) - Add npm upgrade step to ensure npm 11.5.1+ for OIDC support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5cdc141 commit c4fa18f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ jobs:
4444
with:
4545
node-version: 22
4646
registry-url: https://registry.npmjs.org/
47-
env:
48-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
48+
- name: Upgrade npm for OIDC support
49+
run: npm install -g npm@latest
4950

5051
- name: Setup PNPM
5152
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061

0 commit comments

Comments
 (0)