diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ececf22e..5d0599ef 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 @@ -49,7 +52,7 @@ jobs: run: pnpm dev:prepare - 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 8f3db63d..bee0c490 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "prepare": "husky install", "prepublishOnly": "pnpm lint && pnpm test", "release": "bumpp && npm publish", - "test": "vitest run", + "test": "vitest run --coverage", "test:types": "tsc --noEmit" }, "dependencies": {