From bd4cfd3fbf8f7ce78adc659070f8d526e7ab8f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Thu, 9 Jan 2025 15:48:53 +0100 Subject: [PATCH] Separated test and test with coverage --- .github/workflows/CI.yml | 2 +- packages/frontend/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 451197df..1956c796 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -152,7 +152,7 @@ jobs: - name: "Test" run: | - npm run test + npm run test-coverage - name: "Upload coverage results" uses: codecov/codecov-action@v5.1.2 diff --git a/packages/frontend/package.json b/packages/frontend/package.json index dffb31b2..d1775724 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -26,6 +26,7 @@ "lint": "run-p -c --aggregate-output lint:*", "start": "vite", "test": "vitest", + "test-coverage": "vitest run --coverage", "test-accept": "vitest run --update" }, "dependencies": {