Skip to content

Use Node 24 in npm-publish workflow so OIDC trusted publishing works - #20

Merged
u9g merged 1 commit into
ProtoDef-io:masterfrom
u9g:fix-publish-node-version
Aug 27, 2026
Merged

Use Node 24 in npm-publish workflow so OIDC trusted publishing works#20
u9g merged 1 commit into
ProtoDef-io:masterfrom
u9g:fix-publish-node-version

Conversation

@u9g

@u9g u9g commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

#16 described moving to Node 24 for trusted publishing but the diff never changed node-version, so the workflow still runs Node 14 / npm 6, which can't do OIDC auth. The 1.5.0 publish failed with 404 Not Found - PUT https://registry.npmjs.org/protodef-validator (npm's auth-failure response on publish): https://github.com/ProtoDef-io/node-protodef-validator/actions/runs/33044382373/job/98424883579

Earlier "green" runs after #16 never actually published — the version was unchanged so npm-publish skipped.

ProtoDef-io#16 switched to trusted publishing but left node-version at 14.0.0, which
ships npm 6 and cannot authenticate via OIDC. Every publish since has
failed with a 404 on PUT (1.5.0 was the first version bump to hit it).
@u9g
u9g merged commit 57d83e7 into ProtoDef-io:master Aug 27, 2026
1 check passed
@u9g
u9g deleted the fix-publish-node-version branch August 27, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant