mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-07-22 01:46:48 -04:00
Raises Compiler Explorer's minimum Node version from 20 to 22, aligning the declared floor with what production actually runs (Node 22.13.1 across the fleet). ## Why - Production already runs Node 22.13.1 everywhere; the declared floor (`>=20`) lagged reality. - It's a prerequisite for upcoming dependency majors — commander 15 requires Node >=22.12. ## Changes - `package.json`: `engines.node` `>=20.0.0` → `>=22.0.0`. - `etc/scripts/find-node`: `NODE_MIN_VERSION` `20` → `22`. - `.github/workflows/test-and-deploy.yml`: the `build_minimum_support` job moves from Node 20.18.2 to 22.12.0 (the genuine floor), since `find-node` now rejects Node <22. Split out from the major-dependency PR (#8761) so it can land independently. #8761 will rebase cleanly on top once this merges. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>