diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c86fb7..42136d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -67,8 +67,5 @@ jobs: - name: Upload frontend coverage reports to Codecov uses: codecov/codecov-action@v3 - with: - flags: frontend - directory: frontend env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/vitest.config.mts b/vitest.config.mts index 8595aca..c98b612 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -15,8 +15,9 @@ export default mergeConfig( } }, coverage: { + all: true, provider: 'istanbul', - reporter: ['text', 'json', 'html'], + reporter: ['text', 'html', 'clover', 'json'], include: ['src/lib/**/*.ts', 'src/components/**/*.{vue,ts}'], exclude: ['**/*.spec.ts', '**/*.stories.ts'] },