Skip to content

Commit

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

strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
node: [18]

steps:
Expand Down Expand Up @@ -50,9 +50,10 @@ jobs:
run: pnpm test:types

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

- name: 🟩 Coverage
if: matrix.os != 'windows-latest'
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"lint": "eslint --fix .",
"prepublishOnly": "pnpm test",
"release": "bumpp && npm publish",
"test": "pnpm lint && pnpm vitest run",
"test": "pnpm lint && pnpm vitest run --coverage",
"test:types": "vue-tsc --noEmit",
"test:unit": "vitest run test/unit/*.test.*",
"test:e2e": "vitest run test/e2e/*.test.*"
Expand Down

0 comments on commit 860ee9e

Please sign in to comment.