Repository navigation
Require Node.js 26 - #27
Merged
Merged
Conversation
Pin engines and CI to Node 26 and bump @types/node so local, CI, and Vercel builds use the same runtime. Co-authored-by: Grant Lindsay <glindsay65@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[Susan (Grok Bot)]
Moves the project to Node.js 26. The app version stays 1.2.0.
nextandeslint-config-nextstay pinned at 16.4.6.prisma,@prisma/client, and@prisma/adapter-pgstay at ^7.10.1. No other direct dependencies were bumped, andnpm audit fixwas not run.Changes
package.jsonengines.node:>=20→^26.13.0@types/node:^20→^26.6.6(lockfile resolves26.6.6)undici-types:6.21.0→8.9.0, required by@types/node@26.6.6actions/setup-nodenode-version24→26.x.nvmrc
Not added. This repo has no
.nvmrc,.node-version, Volta, or asdf convention. CI pins26.xdirectly so the workflow matchesengines.node^26.13.0.Vercel Node version
The Vercel project website dashboard Node.js setting is 24.x.
package.jsonengines.nodeoverrides that setting for builds. The preview build logged:Grant may want to set the dashboard to 26.x so the project setting matches engines.
Verification
Local on Node v26.13.1:
npm ciexit 0npm run lintexit 0npm run test:run: 9 files, 68 tests passednpx tsc --noEmitcleanVitest prints a Node 26 deprecation (
module.register()is deprecated; usemodule.registerHooks()). The test run still exits 0. A localnext buildis expected to fail at/api/syncwithoutDATABASE_URL.GitHub Actions job
testonbdef612completed success.actions/setup-nodeinstalled Node v26.13.1 (npm 11.20.0) andnpm run test:runpassed 68 tests. The runner also warns thatactions/checkout@v4andactions/setup-node@v4still target Node 20 and are forced onto Node 24; that warning is about the action runtime, not the job's Node 26 toolchain.Vercel Preview dpl_E2ckcsFeULo1konFqaZZFAao6tK6 is READY. It built with Node.js 26.x (engines override of the dashboard
24.xsetting). The build ran the test suite (68 passed) andnext buildcompleted, including/api/sync.