From 10659f9209652caa842168a785226b2add76eb79 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 8 Sep 2024 08:51:32 +0800 Subject: [PATCH] test(workflow): run test CI in Windows --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5b2df97..c5e96cb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,10 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -26,7 +29,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "pnpm" - name: Install Dependencies