From 9f4bd0b102dc36626bc3de29883c3810a63eb218 Mon Sep 17 00:00:00 2001 From: Chris Shepherd <1379888+sheepsteak@users.noreply.github.com> Date: Wed, 25 Nov 2026 12:01:03 +0000 Subject: [PATCH 1/4] ci: test on Node 18 to 26 and add a single Test check Node 18 and 20 are end-of-life but still in engines, so CI keeps testing them alongside 22, 24 and 26. The new Test job passes only when every matrix job passes, so branch protection can require it instead of each matrix job, and changing the matrix no longer means updating the required checks. The matrix jobs keep their Test () names, so the Test (18) check that branch protection requires today still reports until it's switched over. --- .github/workflows/ci.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5325ce7..f0e2d3b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18] + node-version: [18, 20, 22, 24, 26] steps: - name: Checkout uses: actions/checkout@v4 @@ -35,3 +35,16 @@ jobs: - name: Test run: pnpm test + + # The single check for branch protection to require. Without `always()`, a failed matrix + # would skip this job, and GitHub treats a skipped required check as passing. + test-result: + name: Test + if: always() + needs: test + runs-on: ubuntu-latest + steps: + - name: Check test matrix + run: | + echo "Test matrix result: ${{ needs.test.result }}" + test "${{ needs.test.result }}" = success From f7bb93144777f05052f1fadbc3a63bf647d5fdef Mon Sep 17 00:00:00 2001 From: Chris Shepherd <1379888+sheepsteak@users.noreply.github.com> Date: Wed, 25 Nov 2026 12:01:03 +0000 Subject: [PATCH 2/4] chore: use Node 26 for development Node 26 has been the active LTS since October 2026. Node 18 reached end-of-life in April 2025. --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index a06299b..2979d74 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ pnpm 8.15.9 -nodejs 18.20.3 +nodejs 26.13.1 From 31d772d75819862b62ade54ff3a41bad9976b142 Mon Sep 17 00:00:00 2001 From: Chris Shepherd <1379888+sheepsteak@users.noreply.github.com> Date: Wed, 25 Nov 2026 12:01:03 +0000 Subject: [PATCH 3/4] fix: declare support for Node 22 and newer Consumers on Node 22 or newer got an unsupported engine warning. `engines` now matches ESLint 9's own range, `^18.18.0 || ^20.9.0 || >=21.1.0`. The higher Node 18 and 20 floors don't drop anyone, since ESLint 9 is a dependency and already declares the same range. CI tests 18, 20, 22, 24 and 26. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7150966..b4b5329 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "prepack": "pnpm run build" }, "engines": { - "node": "^18.0.0 || ^20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "files": [ "dist", From b9afa1825b76804064b24b51b225cd6089ea3b95 Mon Sep 17 00:00:00 2001 From: Chris Shepherd <1379888+sheepsteak@users.noreply.github.com> Date: Wed, 25 Nov 2026 12:32:54 +0000 Subject: [PATCH 4/4] ci: remove comment on the Test job --- .github/workflows/ci.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f0e2d3b..c978a40 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,8 +36,6 @@ jobs: - name: Test run: pnpm test - # The single check for branch protection to require. Without `always()`, a failed matrix - # would skip this job, and GitHub treats a skipped required check as passing. test-result: name: Test if: always()