ci: drop Node 26 from test matrix (#3695)

Node 26 lanes have been causing recurring instability and CI churn.
Drop the Node 26 entry from the strategy matrix in .github/workflows/test.yml
until the Node 26 release stabilises. Also remove the companion
continue-on-error guard and its explanatory comment block, which
existed solely to prevent Node 26 failures from gating the workflow.

Files changed:
  .github/workflows/test.yml — removed node-version: 26 from matrix,
    removed continue-on-error: ${{ matrix.node-version == 26 }} and its
    two-line comment block

Preserved: node-version: [22, 24] still run on all three OS lanes
  (ubuntu-latest, macos-latest, windows-latest).

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-05-18 11:51:37 -04:00
committed by GitHub
parent cb154569cf
commit ae4c31426a

View File

@@ -40,17 +40,13 @@ jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
# Node 26 lanes report forward-compat status without gating the workflow
# (setup-node may not yet have stable Node 26 images). 22/24 still gate.
continue-on-error: ${{ matrix.node-version == 26 }}
strategy:
# fail-fast disabled so a single lane failure doesn't cancel the rest;
# makes OS-specific vs version-specific regressions easier to distinguish.
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [22, 24, 26]
node-version: [22, 24]
# Windows path/separator coverage is also reinforced by hardcoded-paths.test.cjs
# and windows-robustness.test.cjs (static analysis).
# A dedicated windows-compat workflow runs on a weekly schedule.