Skip to content

fix(ci): run the release job on Node 22 - #50

Merged
jwulf merged 2 commits into
mainfrom
fix/publish-node-version
Sep 23, 2026
Merged

jwulf merged 2 commits into
mainfrom
fix/publish-node-version

Conversation

@jwulf

@jwulf jwulf commented Sep 23, 2026

Copy link
Copy Markdown
Member

Problem

The Publish workflow's release job pins node-version: '20', but the installed semantic-release requires ^22.14 || >=24.10. Every publish run aborted immediately at:

[semantic-release]: node version ^22.14.0 || >= 24.10.0 is required. Found v20.20.2.

So no release has ever been cut (the earlier main/stable/10 publish failures were all this, not a branch-config issue).

Fix

Bump the release job to Node 22. Other Node-20 jobs in ci.yml don't run semantic-release and are left unchanged.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

semantic-release requires Node ^22.14 || >=24.10, but the Release job
pinned Node 20, so `npx semantic-release` aborted at the engine check and
no release was ever cut. Bump the release job to Node 22.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 23, 2026 02:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The workflow now matches semantic-release's required Node version.

Review effort: Lite
Findings: None

What changed in this PR

Updates the publish workflow to run semantic-release on Node.js 22.

Changes:

  • Bumps the release job from Node 20 to Node 22.
File Description
.github/​workflows/​publish.yml Uses Node 22 for the release job.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Align the ci.yml Node version with the release job (Node 22) for
consistency across workflows.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 23, 2026 04:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Restore the unrelated ci.yml jobs to Node 20.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)

Comment thread .github/workflows/ci.yml
@jwulf
jwulf merged commit 4958e0d into main Sep 23, 2026
20 checks passed
@jwulf
jwulf deleted the fix/publish-node-version branch September 23, 2026 05:23
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