Skip to content

Commit

Permalink
Add Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow committed Sep 5, 2023
1 parent 2bcc415 commit 5841822
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ jobs:
- run: pnpm i
- run: pnpm run lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v2
with:
version: latest
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"lint:prettier": "prettier --check src",
"prepublishOnly": "pnpm run build",
"test": "run-p -s test:*",
"test:build": "cd example && pnpm i && pnpm run build",
"test:ts": "tsc --noEmit",
"version": "pnpm run build && changeset version && pnpm i --no-frozen-lockfile"
},
Expand Down

0 comments on commit 5841822

Please sign in to comment.