Skip to content

Commit 9987a85

Browse files
authored
ci: run test suite on windows (#310)
1 parent 8f92d26 commit 9987a85

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ jobs:
3232
run: pnpm run lint
3333

3434
test:
35-
runs-on: ubuntu-latest
35+
strategy:
36+
matrix:
37+
os: [ubuntu-latest, windows-latest]
38+
runs-on: ${{ matrix.os }}
3639

3740
steps:
3841
- uses: actions/checkout@v4
@@ -52,7 +55,7 @@ jobs:
5255
run: pnpm build
5356

5457
- name: 🧪 Test project
55-
run: pnpm test -- --coverage
58+
run: pnpm test
5659

5760
- name: 💪 Test types
5861
run: pnpm test:types

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"prepare": "husky install",
4646
"prepublishOnly": "pnpm lint && pnpm test",
4747
"release": "bumpp && pnpm publish",
48-
"test": "vitest run",
48+
"test": "vitest run --coverage",
4949
"test:types": "tsc --noEmit"
5050
},
5151
"dependencies": {

0 commit comments

Comments
 (0)