Skip to content

Commit 15c46e5

Browse files
Shinigami92demipel8
authored andcommitted
ci: fix codecov reporting (faker-js#428)
1 parent 487251e commit 15c46e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,5 @@ jobs:
130130
- name: Upload coverage to Codecov
131131
uses: codecov/[email protected]
132132
with:
133-
directory: ./coverage
133+
token: ${{ secrets.CODECOV_TOKEN }}
134134
fail_ci_if_error: true

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export default defineConfig({
77
coverage: {
88
all: true,
99
reporter: ['clover', 'cobertura', 'lcov', 'text'],
10-
// TODO christopher 2022-02-04: Later we want to test `src` instead of `dist/cjs`
11-
include: ['dist/cjs'],
10+
// TODO christopher 2022-02-04: Later we will only cover `src` instead of `dist` and `src`
11+
include: ['dist', 'src'],
1212
},
1313
},
1414
});

0 commit comments

Comments
 (0)