Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit c68a10d

Browse files
authored
ci: run test suite on windows (#300)
1 parent 2f6b568 commit c68a10d

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
@@ -42,7 +42,7 @@
4242
"prepare": "husky",
4343
"prepublishOnly": "pnpm lint && pnpm test",
4444
"release": "bumpp && pnpm publish",
45-
"test": "vitest run",
45+
"test": "vitest run --coverage",
4646
"test:types": "vue-tsc --noEmit"
4747
},
4848
"dependencies": {

0 commit comments

Comments
 (0)