Skip to content

Commit e9be657

Browse files
calclaviaclaude
andauthored
ci: add registry-url to publish workflow for OIDC auth (#753)
## Summary The previous `Publish NPM` workflow dispatch failed with `ENEEDAUTH` because `setup-node` was missing `registry-url`, so `npm publish` didn't use the OIDC token. Adds `registry-url: 'https://registry.npmjs.org'` and bumps node 20 → 24 to match the release-please publish job. ## Why this matters OIDC trusted publishing is now configured on npmjs.com for `smithery`. With this fix, the workflow can actually use it. ## Test plan - [ ] Merge - [ ] Dispatch `Publish NPM` from Actions tab → should publish `smithery@1.0.0` with provenance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 979637a commit e9be657

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 20
22+
node-version: 24
2323
cache: 'pnpm'
24+
registry-url: 'https://registry.npmjs.org'
2425

2526
- run: pnpm install --frozen-lockfile
2627

0 commit comments

Comments
 (0)