Repository navigation
Commit f58c2c3
authored
ci(release): publish to npm through OIDC trusted publishing only (#54)
Drop the actions/setup-node step from the publish job. It only wrote an
.npmrc that reads NODE_AUTH_TOKEN, which nothing sets, so npm saw a
placeholder token next to the OIDC exchange. npm now authenticates with
id-token: write and each package's trusted publisher alone, and a package
without one fails instead of falling back to a token.1 parent 31e131f commit f58c2c3
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
| |||
0 commit comments