Commit 1c67840
committed
ci: upgrade npm before publishing for OIDC trusted publishing support
Node 20 ships npm 10.x, but npm 11.5.1+ is required to perform OIDC
trusted publishing. Without it, 'npm publish' falls back to the
token-auth flow with no token, and npm's registry returns 404 on PUT
(it hides package existence from unauthenticated callers), producing
the misleading 'Not found' error we saw on @cooklang/cooklang.1 parent 40df5fb commit 1c67840
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
779 | 782 | | |
780 | 783 | | |
781 | 784 | | |
| |||
0 commit comments