File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2525 - name : Install Playwright Browsers
2626 run : npx playwright install chromium --only-shell
2727 - run : npm test -- --forbid-only
28+ - name : Upload coverage reports to Codecov
29+ uses : codecov/codecov-action@v5
30+ with :
31+ token : ${{ secrets.CODECOV_TOKEN }}
2832
2933 check-ts :
3034 name : Check types
Original file line number Diff line number Diff line change 3737 },
3838 "types" : " dist/index.d.ts" ,
3939 "scripts" : {
40- "test" : " c8 --reporter=text playwright test" ,
40+ "test" : " c8 --reporter=text --reporter=lcov playwright test" ,
4141 "build" : " tsdown" ,
4242 "check" : " tsc --noEmit" ,
4343 "lint" : " oxlint --config .oxlintrc.json" ,
Original file line number Diff line number Diff line change @@ -59,9 +59,6 @@ export function program(
5959 } ,
6060 coverage_data : Coverage [ ] ,
6161) {
62- if ( coverage_data . length === 0 ) {
63- throw new MissingDataError ( )
64- }
6562 let coverage = calculate_coverage ( coverage_data )
6663 let min_line_coverage_result = validate_min_line_coverage ( coverage . line_coverage_ratio , min_file_coverage )
6764 let min_file_line_coverage_result = validate_min_file_line_coverage (
You can’t perform that action at this time.
0 commit comments