diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3498e028..d4503c04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -52,7 +55,7 @@ jobs: run: pnpm build - name: 🧪 Test project - run: pnpm test -- --coverage + run: pnpm test - name: 💪 Test types run: pnpm test:types diff --git a/package.json b/package.json index 6f5e896d..cdd7f24a 100644 --- a/package.json +++ b/package.json @@ -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": {