Commit 7b9a784
fix(ci): make OIDC publishing actually work — drop setup-node registry-url, use publishConfig (#363)
The publish kept 404ing because setup-node's registry-url writes an .npmrc with
always-auth=true + a placeholder _authToken, so npm used (dummy) TOKEN auth and never
attempted OIDC. Remove registry-url/scope from the publish job's setup-node and pin the
registry + public access via package.json publishConfig instead — npm now has no token
in .npmrc and authenticates via OIDC trusted publishing.
Co-authored-by: open-swe[bot] <jonathan@jonathanborduas.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 799d913 commit 7b9a784
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
125 | | - | |
126 | | - | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
0 commit comments