diff options
| author | Shinigami <[email protected]> | 2022-02-05 00:19:23 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-05 00:19:23 +0100 |
| commit | 0ee39d180b30d6c0f102ee3c930e05e6770c5459 (patch) | |
| tree | 91c03db755cf32f4c3e31beaa849e3de0fedc8be | |
| parent | 046d598c8cadd3585a98b968389b4ac95bc00224 (diff) | |
| download | faker-0ee39d180b30d6c0f102ee3c930e05e6770c5459.tar.xz faker-0ee39d180b30d6c0f102ee3c930e05e6770c5459.zip | |
ci: fix codecov reporting (#428)
| -rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
| -rw-r--r-- | vite.config.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57b725aa..15af72df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,5 +130,5 @@ jobs: - name: Upload coverage to Codecov uses: codecov/[email protected] with: - directory: ./coverage + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true diff --git a/vite.config.ts b/vite.config.ts index 13e82b4d..a83a6374 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,8 +7,8 @@ export default defineConfig({ coverage: { all: true, reporter: ['clover', 'cobertura', 'lcov', 'text'], - // TODO christopher 2022-02-04: Later we want to test `src` instead of `dist/cjs` - include: ['dist/cjs'], + // TODO christopher 2022-02-04: Later we will only cover `src` instead of `dist` and `src` + include: ['dist', 'src'], }, }, }); |
