diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57b725aa349..15af72df19a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,5 +130,5 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v2.1.0 with: - directory: ./coverage + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true diff --git a/vite.config.ts b/vite.config.ts index 13e82b4d03e..a83a6374158 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'], }, }, });