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 @@ -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 All @@ -52,7 +55,7 @@ jobs:
run: pnpm playwright-core install

- name: πŸ§ͺ Test project
run: pnpm test -- --coverage
run: pnpm test

- name: πŸ’ͺ Test types
run: pnpm test:types
Expand All @@ -61,6 +64,7 @@ jobs:
run: pnpm build

- 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 @@ -49,7 +49,7 @@
"prepare": "husky",
"prepublishOnly": "pnpm lint && pnpm test",
"release": "bumpp && npm publish && git push --follow-tags",
"test": "vitest run",
"test": "vitest run --coverage",
"test:types": "tsc --noEmit"
},
"dependencies": {
Expand Down
Loading