Skip to content

Commit 1a72a59

Browse files
authored
ci: run test suite on windows (#169)
1 parent d61468a commit 1a72a59

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
@@ -70,7 +73,7 @@ jobs:
7073
run: pnpm dev:prepare
7174

7275
- name: 🧪 Test project
73-
run: pnpm test -- --coverage
76+
run: pnpm test
7477

7578
- name: 💪 Test types
7679
run: pnpm test:types

package.json

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

0 commit comments

Comments
 (0)