Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ on:

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

steps:
- uses: actions/checkout@v4
Expand All @@ -32,7 +35,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 +58,7 @@ jobs:
run: pnpm build

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