Skip to content

fix(ci): bump release publish-job node to 24 for npm OIDC#59

Closed
mscolnick wants to merge 1 commit into
mainfrom
myles/bump-publish-node-24
Closed

fix(ci): bump release publish-job node to 24 for npm OIDC#59
mscolnick wants to merge 1 commit into
mainfrom
myles/bump-publish-node-24

Conversation

@mscolnick
Copy link
Copy Markdown
Contributor

npm install -g npm@latest was recently removed, but the release.yml publish step still pins node-version: 22 (or 20), whose bundled npm 10.x does not support npm trusted publishing (OIDC). This restores OIDC by bumping the publish step to node 24 (bundled npm 11+).

Once this lands, the next v* tag will publish successfully via OIDC.

Copilot AI review requested due to automatic review settings May 12, 2026 17:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Actions release workflow to use Node.js 24 so the bundled npm version supports npm Trusted Publishing via OIDC, allowing tagged releases (v*) to publish successfully without installing a newer npm globally.

Changes:

  • Bump actions/setup-node in the release workflow from Node 22 to Node 24 to restore OIDC-compatible npm for npm publish.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 23 to 28
- name: ⎔ Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 22
node-version: 24
registry-url: "https://registry.npmjs.org"
cache: pnpm
@mscolnick
Copy link
Copy Markdown
Contributor Author

Superseded — #58 (the batch-C release split) merged and already bumps publish-job node to 24.

@mscolnick mscolnick closed this May 12, 2026
@mscolnick mscolnick deleted the myles/bump-publish-node-24 branch May 12, 2026 17:51
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