diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 3290195..c97e4cc 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -32,5 +32,6 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: - files: coverage/coverage-summary.json + files: coverage/lcov.info + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false diff --git a/vitest.config.ts b/vitest.config.ts index 4eb1cc4..c0bab22 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -10,7 +10,7 @@ export default defineConfig({ ], coverage: { provider: 'v8', - reporter: ['text', 'html', 'json-summary'], + reporter: ['text', 'html', 'json-summary', 'lcov'], include: ['src/**/*.ts'], exclude: ['src/**/*.test.ts', 'src/**/tests/**', 'node_modules'], reportOnFailure: true,