Node 22 everywhere: engines, README, drop the Node 20 job (#45)
CI / Lint (eslint) (pull_request) Successful in 36s
CI / Test (jest) (pull_request) Successful in 36s
CI / Security (npm audit) (pull_request) Successful in 37s
CI / Integration (api) (pull_request) Successful in 2m18s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m45s
CI / UI screenshots (before/after) (pull_request) Successful in 7s
CI / UI (playwright) (pull_request) Successful in 2m50s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped

Production moved to Node 22.23.5 on 2026-11-23: the worker (CT 153)
first, then the server (CT 122), each from NodeSource's node_22.x repo
and checked with real commands end to end. So:
- package.json engines: node >= 22.
- README prerequisites say Node 22, with a note on NodeSource's signing
  key: copies from before January 2026 bind it with SHA-1, which Debian
  13 rejects, so apt reports the repository as unsigned.
- The Test (Node 20) job is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-23 22:22:25 -05:00
1 parent 82ad678532
commit 57e4d7527f
4 files changed
+14 -25

No files matched your search

+3 -19
View File
@@ -23,8 +23,8 @@ concurrency:
# Node comes from each job's container image, not actions/setup-node: the runner
# shares one tool cache volume between concurrent jobs, and parallel setup-node
# runs overwrote each other's Node install mid-job. Node 22 is the target for production
# (CT 122) and the worker (CT 153); Test (Node 20) covers them until they move (#45).
# runs overwrote each other's Node install mid-job. Node 22 matches production
# (CT 122) and the worker (CT 153), both on NodeSource's node_22.x since 2026-11-23.
jobs:
lint:
@@ -63,22 +63,6 @@ jobs:
- name: Run jest with coverage
run: npm test -- --ci
# The unit tests on Node 20 as well, while production (CT 122, CT 153) still runs it
# during the move to Node 22 (#45). Not a required check. Remove once both hosts are on 22.
test-node20:
name: Test (Node 20)
runs-on: ubuntu-latest
timeout-minutes: 20
container: node:20-bookworm@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false # no job pushes; keep the token out of .git/config
- name: Install dependencies (lockfile only)
run: npm ci
- name: Run jest
run: npx jest --ci
audit:
name: Security (npm audit)
runs-on: ubuntu-latest
@@ -120,7 +104,7 @@ jobs:
name: Integration (api)
runs-on: ubuntu-latest
timeout-minutes: 25
container: node:22-bookworm@sha256:e13726ca604184d7a91fcacab1fc09eefd642dc28e79ac34e85540dd93b78cfb # the server and workers on Node 22, production's target
container: node:22-bookworm@sha256:e13726ca604184d7a91fcacab1fc09eefd642dc28e79ac34e85540dd93b78cfb # the server and workers on production's Node
env:
DB_HOST: 127.0.0.1
DB_PORT: '3306'