Repository navigation
ci: run the release job on the latest Node LTS - #305
Merged
dhensby merged 1 commit intoNov 24, 2026
Merged
Conversation
semantic-release supports only the most recent Node LTS lines. From version 26 it needs Node 26.13 or later. The release job used the `.nvmrc` version (Node 22), so that upgrade would stop all releases. Pull request CI does not run the release job, so the failure would only show after merge. Run the release job on `lts/*`, as the semantic-release docs recommend. Lint, coverage and test jobs keep their Node versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The
releasejob now runs onlts/*(Node 26.13.1 today), not on the.nvmrcversion (Node 22). The lint, coverage and test jobs don't change.Why
semantic-release 26 needs Node
>=26.13and exits at start-up on older versions. #302 bumps it to 26.0.1. That PR's CI is green because the release job doesn't run on pull requests, but the first release after merge would fail on Node 22.semantic-release now drops support for older Node lines when a new LTS is promoted, and its docs recommend running the release on the latest LTS (
lts/*). Withlts/*, the next semantic-release major won't break releases in the same way.semantic-release 25 and the current plugins all support Node 26, so this can merge before #302. The release run on
masterafter the merge will confirm the setup on Node 26.Notes
Pin npmstep stays. Node 26 ships npm 11, but a later LTS can ship npm 12, and Dependabot generates the lockfile with npm 11..nvmrcstays at 22. It is the target runtime for development, lint and coverage.🤖 Generated with Claude Code