From 792f2d39f9900a00ff3d69c2277667cb5bcbc0e5 Mon Sep 17 00:00:00 2001 From: kilisamemarisaaa <1798456934@qq.com> Date: Thu, 27 Aug 2026 21:07:33 +0800 Subject: [PATCH] ci: run tests on windows and macos matrix Signed-off-by: kilisamemarisaaa <1798456934@qq.com> Co-Authored-By: EvoX --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa23d013..85c8e75b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,11 +30,12 @@ jobs: run: npm run lint test: - name: Test - Node.js ${{ matrix.node-version }} - runs-on: ubuntu-latest + name: Test - ${{ matrix.os }} / Node.js ${{ matrix.node-version }} + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: + os: [ubuntu-latest, windows-latest, macos-latest] node-version: [18.0.0, 18, 19, 20, 21, 22, 23, 24, 25, 26] steps: @@ -54,7 +55,7 @@ jobs: - name: Upload code coverage uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: coverage-node-${{ matrix.node-version }} + name: coverage-node-${{ matrix.os }}-${{ matrix.node-version }} path: ./coverage/lcov.info retention-days: 1