From 839309f24707db960ab800f1f70fae04dc6fcb1c Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 16 Jul 2026 05:10:21 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20drop=20Node=2018=20from=20test=20matrix?= =?UTF-8?q?=20=E2=80=94=20vitest=204/rolldown=20requires=20Node=2020+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Node 18 leg has been failing on every run since #66 introduced the matrix: vitest 4's dependency chain (vite -> rolldown) requires Node ^20.19.0 || >=22.12.0 and throws `SyntaxError: The requested module 'node:util' does not provide an export named 'styleText'` before any test executes. This is the current state of main's HEAD commit itself (workflow run 27606677557, conclusion: failure), and every open PR inherits the same failing check. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01CwgPkJznwiQLFemYH9BhrQ --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9caf43..ed19a2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: ['18', '20', '22'] + # vitest 4's dependency chain (vite -> rolldown) requires Node + # ^20.19.0 || >=22.12.0 and crashes with a Startup Error before any + # test runs on Node 18 — see `npm test` failure on this leg. + node-version: ['20', '22'] name: Node ${{ matrix.node-version }} steps: - uses: actions/checkout@v4