diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b3f546d..4061784 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,7 +45,7 @@ jobs: run: pnpm lint - name: Test - run: pnpm test --coverage --maxWorkers=2 + run: pnpm test:coverage - name: Cache Coverage id: cache-coverage diff --git a/package.json b/package.json index 1f41944..3ae32d3 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "build": "tsup", "pretest": "pnpm resolve:crcomlib", "test": "vitest --passWithNoTests", - "test:coverage": "pnpm clean:coverage && pnpm resolve:crcomlib && vitest --passWithNoTests --coverage", + "test:coverage": "pnpm clean:coverage && pnpm resolve:crcomlib && vitest --passWithNoTests --coverage --maxWorkers=2", "lint": "tsc && eslint . --fix", "prepare": "husky", "size": "size-limit",