Repository navigation
ci: run every workflow on Node 22 - #4793
Conversation
Node 20 reached end-of-life in April 2026, and Electron Forge 8 requires Node >= 22.13: the Dependabot bump in amd#4703 fails `electron-forge make` on CI's Node 20. Every workflow now pins Node 22, and the install docs stop pointing macOS users at node@20.
|
Verdict: Approve with suggestions This moves every CI workflow from Node 20 (end-of-life) to Node 22, which unblocks the Electron Forge 8 update. The workflow change is complete and safe: no The docs half is only partly done. The setup page now says "Node.js 22 LTS via NVM", but its NVM commands just below still install Real-world evidenceN/A: this PR changes only CI workflows and docs, and no evidence bundle was produced. The verdict rests on static review. The real proof is the CI jobs on this PR (Electron build, installers, Vitest, hub npm tests, docs), which the test plan already lists. 🔍 Technical details🟡 Setup doc contradicts itself ( 🟢 Quickstart Linux hint still installs Node 20 (
🟢 "Node.js 20+" next to Strengths
|
The open dependency update for the Electron apps (#4703) can't pass CI: Electron Forge 8 refuses to run on Node below 22.13, and every workflow still pins Node 20. Node 20 also reached end-of-life in April 2026, so CI is building and publishing on an unsupported runtime. This moves all workflows to Node 22, and changes the macOS install hint in the quickstart and Agent UI guide from
brew install node@20tonode@22, so new users aren't pointed at an end-of-life Node.The npm packages' declared minimums (
engines) are unchanged; this only changes what CI runs on.Test plan
✖ You are running Node.js version 20.20.2, but Electron Forge requires Node.js >= 22.13.0(job 111591475055)git grep "node-version: '20'" .github/returns nothing@dependabot recreate); chore(deps-dev): bump the agent-ui-dependencies group across 1 directory with 5 updates #4704 also needs it because its lockfile went stale (Missing: [email protected] from lock file)