From dc71b523f6608838d66f68d172f58c5c1ed472fc Mon Sep 17 00:00:00 2001 From: michael faith Date: Sun, 15 Nov 2026 14:50:24 -0600 Subject: [PATCH 1/2] ci: add os and node matrix to unit test jobs This change updates the unit test execution in CI to use a test job for all the various versions node we support, and a separate test job for all three major OSes. Coverage will only be sent off to codecov on the `ubuntu-latest` run of the `test_os` job. > [!NOTE] > We'll need to update merge checks at the point where it's ready to merge. --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61695873..4c9b529a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,9 +64,36 @@ jobs: - uses: $/.github/actions/setup - run: pnpm lint - test: - name: Test + test_node: + name: Test (Node.js ${{ matrix.node-version }}) runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: + - 22.22.0 + - 22 + - 23 + - 24.0.0 + - 24 + - 25 + - 26.0.0 + - 26 + steps: + - uses: $/.github/actions/setup + - run: pnpm build + - run: pnpm test + + test_os: + name: Test (${{ matrix.node-version }}) + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - macos-latest + - ubuntu-latest + - windows-latest permissions: id-token: write steps: @@ -74,6 +101,7 @@ jobs: - run: pnpm build - run: pnpm test --coverage - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 + if: success() && (matrix.os == 'ubuntu-latest') with: fail_ci_if_error: false use_oidc: true From f6c2fe5245f2d703f4dd6a4e09ba1804936ce25b Mon Sep 17 00:00:00 2001 From: michael faith Date: Mon, 16 Nov 2026 03:42:26 -0600 Subject: [PATCH 2/2] fix job name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c9b529a..2978ff7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,7 +85,7 @@ jobs: - run: pnpm test test_os: - name: Test (${{ matrix.node-version }}) + name: Test (${{ matrix.os }}) runs-on: ${{ matrix.os }} strategy: fail-fast: false