Skip to content

Commit

Permalink
ci: run test suite on windows (#1542)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Oct 14, 2024
1 parent 69bfe03 commit 7667b92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ permissions: {}

jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: corepack enable
Expand Down Expand Up @@ -45,10 +48,11 @@ jobs:

- run: pnpm dev:prepare
- run: pnpm lint
- run: pnpm test -- --coverage
- run: pnpm test
- run: pnpm build
- run: pnpm test:types
- run: pnpm dev:build
- uses: codecov/codecov-action@v4
if: matrix.os != 'windows-latest'
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 @@ -33,7 +33,7 @@
"lint": "eslint .",
"prepack": "pnpm build",
"release": "pnpm test && pnpm build && changelogen --release --push && npm publish",
"test": "nuxi prepare playground && pnpm vitest run",
"test": "nuxi prepare playground && pnpm vitest run --coverage",
"test:types": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck example"
},
"dependencies": {
Expand Down

0 comments on commit 7667b92

Please sign in to comment.