ci: matrix over Node 22 and 24, add the bench and packaging tiers (task 0040)
All checks were successful
CI / test (22) (pull_request) Successful in 1m8s
CI / test (true, 24) (pull_request) Successful in 1m12s
CI / test (22) (push) Successful in 47s
CI / test (true, 24) (push) Successful in 1m4s

The workflow pinned Node 20, which reached end-of-life in April 2026, while
the manifest promised support down to it — so the entire claimed range below
the single tested version went unverified and its floor was unsupported.

Matrix over the two supported long-term-support majors and narrow the engine
range to `^22 || ^24`, naming exactly what is tested. Narrowing is free now
because nothing has been published and no tags exist.

The benchmark harness tier joins every leg: it is deterministic and needs no
network, and its non-default runner configuration made it easy to believe it
was running when it was not. The end-to-end and packaging tiers run on the
highest leg only, conditioned on a flag attached to that leg through a matrix
`include` entry rather than on a version number restated at each site. The
benchmark smoke tier stays out, since it would pass by skipping.

`@types/node` follows the new floor; it was the last Node 20 reference in the
manifest, and the typecheck runs on every leg.
This commit was merged in pull request #49.
This commit is contained in:
2026-07-19 23:45:55 -04:00
parent 6a9d4d4770
commit ccc8dbe998
6 changed files with 80 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
"type": "module",
"license": "MIT",
"engines": {
"node": ">=20"
"node": "^22 || ^24"
},
"bin": {
"gitea-axi": "dist/main.js"
@@ -47,7 +47,7 @@
"gitea-js": "^1.23.0"
},
"devDependencies": {
"@types/node": "^20.19.0",
"@types/node": "^22.20.1",
"@vitest/coverage-v8": "^3.2.7",
"tsx": "^4.23.1",
"typescript": "^5.8.0",