From 57c8a1abbbf34f75bb129c98525ca4d73c4a676c Mon Sep 17 00:00:00 2001 From: Tom Boucher Date: Sat, 21 Mar 2026 09:44:09 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20optimize=20test=20matrix=20=E2=80=94=209?= =?UTF-8?q?=20containers=20down=20to=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Drop Node 20 (EOL April 2026) - Reduce macOS to single runner (Node 22) — platform compat check - Reduce Windows to single runner (Node 22) — slowest CI, smoke-test - Keep Ubuntu × {22, 24} as primary test surface Estimated savings: ~60% fewer runner-minutes per CI run (~500s → ~190s, 9 jobs → 4 jobs) Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/test.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b0ea2c915..8157c1180 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,8 +21,15 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - node-version: [20, 22, 24] + os: [ubuntu-latest] + node-version: [22, 24] + include: + # Single macOS runner — verifies platform compatibility + - os: macos-latest + node-version: 22 + # Single Windows runner — slowest CI runner, smoke-test only + - os: windows-latest + node-version: 22 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2