Skip to content

chore: move every node pin to 24 to match the vercel runtime - #785

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

chore: move every node pin to 24 to match the vercel runtime#785
rickstaa wants to merge 1 commit into
mainfrom
chore/node-24

Conversation

@rickstaa

@rickstaa rickstaa commented Sep 5, 2026

Copy link
Copy Markdown
Member

The Vercel project now runs on Node 24, but the repo still pinned 22 (and .tool-versions even 20). This aligns every pin: engines, .nvmrc, .tool-versions, both CI workflows, and the Dockerfile.

No dependency changes; groundwork for re-landing the sanitize-html bump in #784, which shrinks to just the dependency change once this merges.

Verified under Node 24.11: 121/121 tests, lint and typecheck clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@rickstaa
rickstaa requested a review from ECWireless as a code owner September 5, 2026 12:34
Copilot AI lite review requested due to automatic review settings September 5, 2026 12:34
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
explorer-arbitrum-one Ready Ready Preview Sep 5, 2026 12:36pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The PR claims “every” Node pin is aligned to 24, but repo docs/devcontainer still reference Node 22 and should be updated or the PR scope/description corrected.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Aligns the repository’s Node.js version pins with Vercel’s Node 24 runtime to avoid local/CI/runtime mismatches and to unblock follow-up work that assumes Node 24.

Changes:

  • Bump package.json engines.node from 22.x to 24.x.
  • Update Docker base images from node:22 to node:24.
  • Update developer/CI Node pins (.nvmrc, .tool-versions, and GitHub Actions workflows) to Node 24.
File summaries
File Description
package.json Updates engines.node to 24.x so platform/runtime selection follows Node 24.
Dockerfile Switches both build and runtime stages to node:24.
.tool-versions Updates asdf Node version to 24.11.0.
.nvmrc Updates nvm Node major version to 24.
.github/workflows/lighthouse-vercel-preview.yml Runs the Lighthouse preview job on Node 24.
.github/workflows/ci.yml Runs CI (lint/typecheck/tests) on Node 24.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread package.json
Comment on lines 98 to 101
"main": "package.json",
"engines": {
"node": "22.x"
"node": "24.x"
},
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