Skip to content

Commit

Permalink
test(workflow): run test CI in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Sep 8, 2024
1 parent 08ce9ef commit 10659f9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 10659f9

Please sign in to comment.