Skip to content

chore: Build the CMS on Node 26 - #39

Merged
ecv merged 1 commit into
mainfrom
chore/node-26
Nov 1, 2026
Merged

ecv merged 1 commit into
mainfrom
chore/node-26

Conversation

@ecv

@ecv ecv commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

The CMS builds on Node 22, two LTS lines behind the Node 26 line the fleet is moving to.

On Node 26 the install fails, because the pinned SQLite driver no longer compiles against Node 26. This moves CI to Node 26 and bumps that driver to a release that ships a Node 26 build.

The engines range widens to admit Node 26 and keeps its Node 22 floor, so the hosted CMS keeps deploying whichever Node line its host runs.

Test plan

  • CI install, lint and build pass on Node 26
  • The hosted CMS deploys and serves the admin panel after merge

Related to #34

Move CI to Node 26, the current LTS line, and let the engines range admit
it. Strapi 5.59 already supports Node 20 through 26.

Key features/changes:
- better-sqlite3 11.3.0 fails to compile on Node 26, whose V8 drops
  Object::GetPrototype; 12.11.1 ships a Node 26 prebuild
- .nvmrc moves to 26, so CI builds on it
- engines widens to 26 and keeps the 22.19 floor, so a host still on
  Node 22 or 24 keeps deploying

On Node 22 and Node 26, npm ci, lint and the production build pass, and a
started server answers /_health 204 and /admin 200, matching main.
@ecv
ecv requested a review from andrewb3000 November 1, 2026 10:41
@ecv
ecv merged commit a1ece0a into main Nov 1, 2026
2 checks passed
@ecv
ecv deleted the chore/node-26 branch November 1, 2026 12:05
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