chore: define node version constraints (#2703)

`>=20.18.1` is required for `npm i && npm run build && npm run start` to succeed.
`npm run raw` would require `>=22.7.0`.

Reviewed-on: OpenWF/SpaceNinjaServer#2703
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-08-27 01:30:36 -07:00 committed by Sainan
parent 287acab892
commit c9cc1fa089
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.2
with:
node-version: ">=20.6.0"
node-version: ">=20.18.1"
- run: npm ci
- run: cp config-vanilla.json config.json
- run: npm run verify

View File

@ -57,5 +57,8 @@
"eslint-plugin-prettier": "^5.2.5",
"prettier": "^3.5.3",
"tree-kill": "^1.2.2"
},
"engines": {
"node": ">=20.18.1"
}
}