coverallsapp/github-action

Cannot find coverage file

coderaiser opened this issue · 2 comments

Cannot find coverage file just after npm run coverage.

https://github.com/putoutjs/printer/actions/runs/5072269264/jobs/9109736982

image

mrexox commented

Looks like you are using c8 utility which generates a coverage in JSON format which Coveralls doesn't support now.

A quick fix for you would be changing this line to redrun coverage:html. It generates LCOV report at first, then creates an HTML report, but Coveralls will use LCOV report, so it should work.

By the way, please, don't use @master reference. Use @v1 or @v2 (preferred)

Thanks a lot, look like this is the source of a problem :)!