chess-tactics states Node 22 in engines.node and its image runs Node 22 (PIPT-12) #1002
No reviewers
Labels
No labels
bug
campaign-editor-ui
dependencies
design
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
question
queue
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/chess-tactics!1002
Loading…
Reference in a new issue
No description provided.
Delete branch "PIPT-12-engines-node"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/PIPT-12
Sets
engines.nodeto"22.x"in backend/package.json and frontend/package.json (and the matching root entry in each package-lock.json), the major fleet.json lists asweb.node, so CI's setup-node can read it from package.json. This moves the image from Node 20 to Node 22, the version CI already tests on: everyFROMgoes fromnode:20-alpine@sha256:fb4cd12c…(Node 20.20.2) tonode:22-alpine@sha256:1314fb30ec37592d5845e5a160d522c0e680972aa534549940b8d73bde88481a(Node 22.23.5, the same version actions/pins.txt pins for CI), still pulled through artifacts.home.romaine.life. packages/board-render and tools/bgm aren't in fleet.json'sweb.packages, so they're unchanged; the image still builds board-render, now under Node 22.Also: vitest allows 30s per test (frontend/vite.config.js). CPU-bound tests (the enemy reply in store.test.ts, then texel tuneK) passed the 5s default while the shared runner was busy with a burst of PRs; both pass in seconds alone. This PR does not change the Node version CI tests on (still 22 from fleet.json).
merge-queue stopped this at
84ef702: CI failed: Suite web-app / check-test (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add thequeuelabel.merge-queue stopped this at
5a90275: CI failed: Suite web-app / check-test (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add thequeuelabel.