Skip to content

Commit

Permalink
ci: run test suite on windows (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Oct 14, 2024
1 parent 2f6b568 commit c68a10d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
run: pnpm run lint

test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -70,7 +73,7 @@ jobs:
run: pnpm dev:prepare

- name: 🧪 Test project
run: pnpm test -- --coverage
run: pnpm test

- name: 💪 Test types
run: pnpm test:types
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"prepare": "husky",
"prepublishOnly": "pnpm lint && pnpm test",
"release": "bumpp && pnpm publish",
"test": "vitest run",
"test": "vitest run --coverage",
"test:types": "vue-tsc --noEmit"
},
"dependencies": {
Expand Down

0 comments on commit c68a10d

Please sign in to comment.