diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 10ab3ea..1193f4a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -11,12 +11,11 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 18.13 - cache: 'npm' + node-version: 18.13 + cache: 'npm' - run: npm ci - name: Test Report - uses: ArtiomTr/jest-coverage-report-action@v2.2.6 + uses: ArtiomTr/jest-coverage-report-action@v2 with: - name: Jest Tests - test-script: npm run test:coverage - coverage-file: coverage.json + test-script: npm run test:ci:coverage + coverage-file: report.json diff --git a/.gitignore b/.gitignore index 8e0b7dd..3321da7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ # testing /coverage -coverage.json +report.json # production /build diff --git a/package.json b/package.json index 3cf1856..396523b 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "test": "vitest", "test:ci": "vitest run", "test:coverage": "vitest run --coverage", - "test:ci:coverage": "vitest run --coverage --reporter=json --outputFile=coverage.json", + "test:ci:coverage": "vitest run --coverage --reporter=json --outputFile=report.json", "build": "CI=false && tsc && vite build", "preview": "vite preview", "format": "npx prettier --write .",