Skip to content

Commit fb55c98

Browse files
authored
@tus/server: require patched Node releases for tooling (#895)
Maintainer builds used unsupported Node 20, while the release selector could reuse a cached Node 24 runtime older than the [October security fixes](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases). Use `^22.23.4` for build/lint and `^24.22.1` for release tooling, with `check-latest: true` for both. Retain the existing Node 20 secret-backed test job as a compatibility check for the published support contract. Consumers still need to update their own deployed Node runtime. Validation: workflow YAML parsing, `git diff --check`, and council review passed. Following this repository's instructions, build/lint and integration qualification run in PR CI rather than local tests. The release workflow has not been invoked. [Build/lint CI](https://github.com/tus/tus-node-server/actions/runs/39644417470) passed on Node 22.23.4. [Secret-backed compatibility tests](https://github.com/tus/tus-node-server/actions/runs/39644417824) passed on the retained Node 20 lane. No Devin workflow or review was present on this PR. <sub>🤖 Claimed by [kvz](https://github.com/kvz) on `framework1/tus-node-server` since 2026-10-21 · resume: `codex resume 01a15e32-a05f-7153-89c2-0b1273795a49`</sub>
1 parent 206f892 commit fb55c98

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
- name: Install Node.js
3434
uses: actions/setup-node@v7
3535
with:
36-
node-version: 20.x
36+
node-version: '^22.23.4'
37+
check-latest: true
3738
cache: npm
3839
cache-dependency-path: package-lock.json
3940

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
- name: Setup Node.js
2424
uses: actions/setup-node@v7
2525
with:
26-
node-version: 24.x
26+
node-version: '^24.22.1'
27+
check-latest: true
2728

2829
- name: Install dependencies
2930
run: npm ci --no-fund --no-audit

‎.github/workflows/tests.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
- name: Install Node.js
5050
uses: actions/setup-node@v7
5151
with:
52+
# Keep the published Node 20 compatibility check.
5253
node-version: 20.x
5354
cache: npm
5455
cache-dependency-path: package-lock.json

0 commit comments

Comments
 (0)