Skip to content

chore: bump Node to 24 for Vercel deploys and CI#331

Open
tnrdd wants to merge 1 commit into
mainfrom
chore/node-24
Open

chore: bump Node to 24 for Vercel deploys and CI#331
tnrdd wants to merge 1 commit into
mainfrom
chore/node-24

Conversation

@tnrdd

@tnrdd tnrdd commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Why

Vercel flagged Node 20.x as deprecated: deployments created on or after 2026-10-01 will fail to build unless the project uses Node 24.x.

Error: Node.js version 20.x is deprecated. Deployments created on or after
2026-10-01 will fail to build. Please set Node.js Version to 24.x ...

Changes

  • package.json: add engines.node: "24.x". Vercel reads this and builds with Node 24, which resolves the deprecation from the repo (no engines field existed before, so the version was coming purely from the Vercel dashboard setting).
  • CI: bump node-version 22 → 24 in test-pr.yml and test-main.yml so tests run on the same major we deploy on.
  • .nvmrc: add 24 to document the version for local dev.

Follow-up (dashboard)

engines.node overrides it for the build, but for consistency the Vercel Project Settings → Node.js Version should also be set to 24.x so the dashboard doesn't keep showing the deprecated 20.x.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
platform Ready Ready Preview, Comment Jun 30, 2026 9:35am

Request Review

@gaston-review gaston-review Bot 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.

Gaston Review

Verdict: Approved

Score: ████████░░ 8/10

Pull Request Summary

This PR bumps the Node.js version from 22 to 24 across CI workflows (test-main, test-pr), adds an .nvmrc file for local dev and Vercel builds, and sets engines.node in package.json. All three locations are consistent.

Clean, minimal version bump. All the right places are updated — CI, .nvmrc for Vercel/nvm, and engines in package.json. Node 24 is in Active LTS at this point, so no concerns there. Nothing to block on.


🔍 Reviewed by Gaston

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