Commit 60bfaae
fix(ci): add registry-url for npm OIDC trusted publishing (#756)
## Summary
- Fixes `ENEEDAUTH` in npm publish:
https://github.com/amd/gaia/actions/runs/24280576961
- **Root cause:** `setup-node` without `registry-url` never creates the
`.npmrc` that maps `NODE_AUTH_TOKEN` to the npm registry. npm's OIDC
trusted publishing needs this to authenticate.
- **Note:** The old `publish-npm-ui.yml` was never actually run (zero
successful runs in history) — v0.17.0 and v0.17.1 were published outside
CI. So the old workflow's lack of `registry-url` was an untested bug
too.
- **Fix:** Add `registry-url: 'https://registry.npmjs.org'` to
`setup-node`.
## Test plan
- [ ] Merge, move tag, verify npm publish authenticates and succeeds
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 49db9a3 commit 60bfaae
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
365 | 368 | | |
366 | 369 | | |
367 | 370 | | |
| |||
0 commit comments