From ffc1a2efa092b2503cd6d7eda844007b19fb5af2 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Fri, 27 Feb 2026 09:45:27 -0600 Subject: [PATCH] fix(ci): use bash shell on Windows for glob expansion in test steps Windows PowerShell doesn't expand `tests/*.test.cjs` globs, causing the test runner to fail with "Could not find" on Windows Node 20. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d2600d46..94fb64bb4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,9 +38,12 @@ jobs: - name: Run tests with coverage # c8 v11 requires Node 20+ (engines: ^20.0.0 || >=22.0.0). Node 18 EOL April 2025. + # Use bash on all platforms so shell glob expansion works on Windows. if: matrix.node-version != 18 + shell: bash run: npm run test:coverage - name: Run tests (Node 18, coverage not supported) if: matrix.node-version == 18 + shell: bash run: npm test