Skip to content

Commit

Permalink
ci: enable testing on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 29, 2023
1 parent 3f51f39 commit 633f69a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ on:

jobs:
ci:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- run: corepack enable
Expand All @@ -20,7 +23,11 @@ jobs:
cache: "pnpm"
- run: pnpm install
- run: pnpm lint
if: ${{ matrix.os != 'windows-latest' }}
- run: pnpm test:types
if: ${{ matrix.os != 'windows-latest' }}
- run: pnpm build
if: ${{ matrix.os != 'windows-latest' }}
- run: pnpm vitest --coverage
- uses: codecov/codecov-action@v3

0 comments on commit 633f69a

Please sign in to comment.