Commit e9be657
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments