Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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