diff --git a/.github/workflows/ui-pr.yml b/.github/workflows/ui-pr.yml index 3c5b01fc..307bb16c 100644 --- a/.github/workflows/ui-pr.yml +++ b/.github/workflows/ui-pr.yml @@ -28,7 +28,7 @@ jobs: run: yarn install --immutable - name: Run Tests - run: npx vitest --coverage.enabled true + run: yarn test:pr - name: "Report Coverage" if: always() diff --git a/ui/package.json b/ui/package.json index 56b2149e..5e973d01 100644 --- a/ui/package.json +++ b/ui/package.json @@ -12,6 +12,7 @@ "test": "vitest", "test:coverage": "vitest --coverage", "test:ui": "vitest --ui --coverage.enabled=true", + "test:pr": "vitest --coverage.enabled true", "coverage:preview": "npx vite preview --outDir ./html", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",