Skip to content

chore: upgrade semantic-release to v25 for OIDC support#43

Merged
ericanderson merged 2 commits intomainfrom
chore/upgrade-semantic-release-v25
Mar 24, 2026
Merged

chore: upgrade semantic-release to v25 for OIDC support#43
ericanderson merged 2 commits intomainfrom
chore/upgrade-semantic-release-v25

Conversation

@ericanderson-bot
Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade semantic-release from v24 to v25, which bundles @semantic-release/npm v13 with OIDC trusted publishing support
  • Bump release workflow Node version from 20 to 22 (npm >= 11.5.1 required for OIDC)

Test plan

  • pnpm compile succeeds
  • All 269 tests pass
  • Verify release workflow publishes successfully with OIDC after merge

- semantic-release v25 bundles @semantic-release/npm v13 which supports
  OIDC trusted publishing (no NPM_TOKEN needed)
- Bump release workflow to Node 22 (npm >= 11.5.1 required for OIDC)
@ericanderson ericanderson force-pushed the chore/upgrade-semantic-release-v25 branch from 7c68a3a to d1de40f Compare March 24, 2026 19:15
Copy link
Copy Markdown

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 upgrades the project’s release tooling to support npm OIDC trusted publishing by moving semantic-release to v25 and aligning the GitHub Actions release workflow to a newer Node.js runtime.

Changes:

  • Bump semantic-release from ^24.2.7 to ^25.0.3.
  • Update the release workflow to use Node.js 22.
  • Regenerate pnpm-lock.yaml to reflect updated semantic-release and transitive dependency versions.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
package.json Updates the semantic-release devDependency to v25.
pnpm-lock.yaml Locks updated semantic-release and its new transitive dependency graph (including npm v11+).
.github/workflows/release.yml Bumps the Node version used by the release job to support OIDC publishing.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

semantic-release@25 (and @semantic-release/npm/@semantic-release/github) requires Node ^22.14.0 || >=24.10.0 per the lockfile. Using node-version: 22 can resolve to a 22.x version <22.14.0 on some runners/caches, which would break the release job at runtime. Pin the workflow to at least 22.14.0 (or use a semver range that guarantees >=22.14.0) so the release workflow always satisfies the engine requirement.

Suggested change
node-version: 22
node-version: 22.14.0

Copilot uses AI. Check for mistakes.
- Set CI matrix to Node 24 only (drop 18 and 20)
- Update release workflow to Node 24
- Update engines field to >=24.0.0
@ericanderson ericanderson force-pushed the chore/upgrade-semantic-release-v25 branch from 70c9d36 to 2cfc42e Compare March 24, 2026 19:25
@ericanderson ericanderson merged commit 0576161 into main Mar 24, 2026
1 check passed
@ericanderson ericanderson deleted the chore/upgrade-semantic-release-v25 branch March 24, 2026 19:35
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants