Skip to content

ci: run the release job on the latest Node LTS - #305

Merged
dhensby merged 1 commit into
tediousjs:masterfrom
dhensby:claude/dependabot-pr-302-node-9e9dbb
Nov 24, 2026
Merged

dhensby merged 1 commit into
tediousjs:masterfrom
dhensby:claude/dependabot-pr-302-node-9e9dbb

Conversation

@dhensby

@dhensby dhensby commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

What

The release job now runs on lts/* (Node 26.13.1 today), not on the .nvmrc version (Node 22). The lint, coverage and test jobs don't change.

Why

semantic-release 26 needs Node >=26.13 and 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/*). With lts/*, 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 master after the merge will confirm the setup on Node 26.

Notes

  • The Pin npm step stays. Node 26 ships npm 11, but a later LTS can ship npm 12, and Dependabot generates the lockfile with npm 11.
  • .nvmrc stays at 22. It is the target runtime for development, lint and coverage.

🤖 Generated with Claude Code

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>
@dhensby
dhensby marked this pull request as ready for review November 24, 2026 11:44
@dhensby
dhensby merged commit 2fac8bc into tediousjs:master Nov 24, 2026
7 checks passed
@dhensby dhensby mentioned this pull request Nov 24, 2026
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