Commit e9ebb5f
chore(workflow): bump publish workflow to Node 24 for trusted publishing (#154)
The 0.0.2 publish workflow run failed with 'error retrieving identity
token' on @ngaf/licensing and @ngaf/partial-json, and a 404 on
@ngaf/a2ui. Root cause: actions/setup-node@v6.3.0 with node-version: 22
ships npm 10.9.x, which has partial OIDC code paths but doesn't fully
implement the trusted-publishing flow against npm registry's OIDC
endpoint.
Node 22 LTS will never ship npm 11+ (locked); Node 24 ships npm 11.6+
out of the box (verified via nodejs.org/dist/index.json).
Bump only the publish workflow's Node version. The rest of CI
(lint/test/build/e2e) stays on Node 22 — the publish workflow doesn't
share artifacts with those, so the version drift is harmless.
Sources:
- https://philna.sh/blog/2026/01/28/trusted-publishing-npm/
- npm/cli#8730
- https://docs.npmjs.com/trusted-publishers/
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 1304b47 commit e9ebb5f
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | | - | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
0 commit comments