Skip to content

ci: move Node to 24 LTS everywhere - #1944

Merged
nadaverell merged 1 commit into
mainfrom
ci/node-24
Sep 30, 2026
Merged

nadaverell merged 1 commit into
mainfrom
ci/node-24

Conversation

@nadaverell

@nadaverell nadaverell commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Moves every pinned Node version to 24 LTS. Node 20 is end-of-life, and Node 22 reaches end-of-life in April 2027, while Node 24 is supported until April 2028.

What changes

Where Before After
ci.yml: Frontend, Settings browser journeys and k8s-ui jobs 20 24
Release and publish workflows: release.yml, release-image.yml, release-desktop.yml (×3), publish-k8s-ui.yml, publish-radar-app.yml 22 24
Dockerfile frontend-builder stage node:20-alpine node:24-alpine
CONTRIBUTING.md, DEVELOPMENT.md "Node.js 20+" "Node.js 24+"
  • Until now CI tested on 20 while releases built on 22. After this change CI tests the same runtime every release is built with.
  • Nothing else pins Node: there's no engines field, .nvmrc or .node-version.

Why now

  • vitest 5 (deps(npm): bump vitest from 4.1.11 to 5.0.2 #1933) requires Node ^22.12 || ^24 || >=26.
  • Its Dependabot PR passed CI on Node 20 only because npm reports the engine mismatch as a warning (EBADENGINE), not an error.
  • vite 8.3, rolldown, eslint 10 and vitest 5 all list Node 24 as supported.

Release-path notes

  • Publish workflows run npm install -g npm@latest before npm publish --provenance. npm 11 supports Node 24.
  • Release image builds with docker build --target release from prebuilt binaries, so it never runs the Node stage. frontend-builder is used only by a default full docker build ..
  • Desktop release (release-desktop.yml) only runs when a release is cut, so the first desktop release after this merges is its first real exercise on Node 24.

Verification (local, Node 24.21.0 / npm 11.12.1)

  • npm ci: OK.
  • npm run build --workspace=web: OK.
  • packages/k8s-ui npm test: 209 files, 4030 passed, 1 skipped.
  • web npm run test: 151 files, 1764 passed.
  • web npm run lint: 0 errors, 441 warnings (the same as main).
  • Not run locally: the Dockerfile frontend-builder stage (Docker isn't available on this machine). That stage runs the same npm ci + npm run build --workspace=web verified above.

After this merges, @dependabot rebase on #1933 should take vitest 5 cleanly.


Note

Low Risk
Toolchain and documentation pins only; no runtime application logic changes, though the next release/desktop/npm publish will be the first live exercise on Node 24.

Overview
Standardizes the repo on Node.js 24 LTS so CI, releases, Docker frontend builds, and contributor docs all use the same runtime.

CI (ci.yml): Frontend, settings browser journeys, and k8s-ui jobs move from Node 20 → 24. Release and publish workflows (release.yml, release-image.yml, release-desktop.yml on all three platforms, publish-k8s-ui.yml, publish-radar-app.yml) move from 22 → 24. The Dockerfile frontend-builder stage switches from node:20-alpine to node:24-alpine. CONTRIBUTING.md and DEVELOPMENT.md now list Node.js 24+ instead of 20+.

After this merge, PR CI runs on the same Node version used for GoReleaser/npm publish and full Docker builds, which unblocks tooling that expects Node 22.12+ / 24 (e.g. vitest 5).

Reviewed by Cursor Bugbot for commit a97350d. Bugbot is set up for automated code reviews on this repo. Configure here.

Node 20 is end-of-life. Move every pinned Node version (CI jobs,
release and publish workflows, the Dockerfile frontend stage) to the
current 24 LTS so CI tests the runtime releases build with, and update
the contributor docs.
@nadaverell
nadaverell requested a review from hisco as a code owner September 30, 2026 09:58
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Move CI, release builds, and Docker to Node 24 LTS

⚙️ Configuration changes 📝 Documentation 🕐 10-20 Minutes

Grey Divider

AI Description

• Align CI and release workflows on Node 24 to test the runtime used for releases.
• Move the full Docker build to Node 24 for compatibility with newer frontend tooling.
• Raise the documented contributor prerequisite to Node.js 24+.
Diagram

graph TD
  N["Node 24 LTS"] --> CI["CI checks"]
  N --> REL["Release builds"] --> ART["Release artifacts"]
  N --> PUB["npm publishing"] --> ART
  N --> DOCK["Docker builder"]
  DOC["Contributor guides"] --> N
Loading
High-Level Assessment

Use the coordinated explicit pins in this PR. CI, GitHub Actions release jobs, and the Docker base image each require their own runtime setting; a shared version file would not remove those settings.

Files changed (9) +13 / -13

Documentation (2) +2 / -2
CONTRIBUTING.mdRaise the contributor Node prerequisite +1/-1

Raise the contributor Node prerequisite

• Changes the development setup prerequisite from Node.js 20+ to Node.js 24+.

CONTRIBUTING.md

DEVELOPMENT.mdDocument Node.js 24+ for development +1/-1

Document Node.js 24+ for development

• Updates the development guide's Node.js prerequisite to match the CI and release runtime.

DEVELOPMENT.md

Other (7) +11 / -11
ci.ymlRun Node-based CI jobs on Node 24 +3/-3

Run Node-based CI jobs on Node 24

• Switches the frontend, settings browser journeys, and k8s-ui jobs from Node 20 to Node 24. CI now exercises the major runtime used by release builds.

.github/workflows/ci.yml

publish-k8s-ui.ymlPublish k8s-ui using Node 24 +1/-1

Publish k8s-ui using Node 24

• Changes the npm package publishing job from Node 22 to Node 24; its npm upgrade and provenance publishing steps remain unchanged.

.github/workflows/publish-k8s-ui.yml

publish-radar-app.ymlPublish radar-app using Node 24 +1/-1

Publish radar-app using Node 24

• Changes the radar-app npm publishing job from Node 22 to Node 24 without altering its publishing steps.

.github/workflows/publish-radar-app.yml

release-desktop.ymlBuild desktop releases using Node 24 +3/-3

Build desktop releases using Node 24

• Updates the macOS, Windows, and Linux desktop build jobs from Node 22 to Node 24. These tag-triggered jobs will first exercise the new runtime on a subsequent release.

.github/workflows/release-desktop.yml

release-image.ymlUse Node 24 for standalone image releases +1/-1

Use Node 24 for standalone image releases

• Updates the Node setup for the image-release build from Node 22 to Node 24. The workflow continues to assemble its container from prebuilt binaries.

.github/workflows/release-image.yml

release.ymlUse Node 24 for tagged releases +1/-1

Use Node 24 for tagged releases

• Updates the main release workflow's Node setup from Node 22 to Node 24, aligning its build environment with CI.

.github/workflows/release.yml

DockerfileBuild the frontend with the Node 24 Alpine image +1/-1

Build the frontend with the Node 24 Alpine image

• Replaces node:20-alpine with node:24-alpine in the frontend-builder stage used by a default full Docker build. The prebuilt-binary release stage is unchanged.

Dockerfile

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can route each severity your way: inline, summary, both, or drop

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@nadaverell
nadaverell merged commit 9243481 into main Sep 30, 2026
10 checks passed
@nadaverell
nadaverell deleted the ci/node-24 branch September 30, 2026 10:07
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