Repository navigation
Commit 9aa6d77
committed
chore(ci): switch publish to OIDC trusted publishing
Drops NPM_TOKEN/NODE_AUTH_TOKEN from the publish job. npm CLI
auto-detects GitHub Actions OIDC (id-token: write was already present
from #1836) and exchanges for a short-lived publish credential.
Also drops registry-url from setup-node — it writes a .npmrc expecting
NODE_AUTH_TOKEN, which short-circuits before OIDC kicks in. npm
defaults to npmjs.org without it.
Requires trusted publishers configured per-package on npmjs.com:
client/server/express/hono/node/fastify → workflow release.yml,
environment release.1 parent 53fb84b commit 9aa6d77
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
78 | | - | |
79 | 76 | | |
0 commit comments