Skip to content

ci: fix OIDC publish on Node 20 and allow manual re-run - #125

Merged
imagekitio merged 1 commit into
masterfrom
ci/fix-oidc-publish-node
Sep 17, 2026
Merged

imagekitio merged 1 commit into
masterfrom
ci/fix-oidc-publish-node

Conversation

@imagekitio

Copy link
Copy Markdown
Collaborator

Summary

The v5.5.1 publish (run) failed because npm install -g npm@latest now resolves to npm 12, which requires Node 22.22+ or 24.15+ and refuses to install on the Node 20 runner. The GitHub release exists but 5.5.1 never reached npm.

  • Run on Node 24 and pin npm@11 (trusted publishing needs >= 11.5.1; 11.x installs fine everywhere).
  • Add workflow_dispatch so the publish can be re-run from master.

After merging

Dispatch the Publish workflow on master once. package.json on master is already 5.5.1, so that run publishes 5.5.1 via OIDC. No new tag or release needed.

The ci: prefix keeps this out of the changelog and does not trigger a release PR.

🤖 Generated with Claude Code

`npm install -g npm@latest` now resolves to npm 12, which requires Node
22.22+/24.15+ and failed the v5.5.1 publish on the Node 20 runner. Pin
npm to the 11 line (>= 11.5.1 is enough for trusted publishing) and run
on Node 24. Add workflow_dispatch so a failed publish can be re-run from
master without cutting a new tag.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@imagekitio
imagekitio merged commit e241851 into master Sep 17, 2026
1 check passed
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.

2 participants