artiomtr/Jest coverage report

Track your code coverage in each pull request.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenA github access tokenyes${{ github.token }}
test-scriptA custom npm script to get coveragenonpx jest
thresholdCoverage threshold. If total coverage is less than threshold, PR will be rejectedno
working-directoryCustom working directoryno
iconsWhich icons to use. Available choices: emoji, asciinoemoji
annotationsWhat type of annotations show. Options: none, coverage, failed-tests, allnoall
package-managerWhich package manager to use; can be `npm`, `yarn`, `pnpm`, or `bun`nonpm
skip-step`none` for running all steps, `install` to skip installing dependencies or `all` to skip installing dependencies and running the test scriptnonone
custom-titleSets the title of the coverage report comment in Github.no
coverage-filePath to file the a previously generated report.json file. (bypasses running the test again)no
base-coverage-filePath to the report.json file to compare against. This should be from the branch the PR is merging into.no
prnumberPull Request number for this commit. Use if your action is running in a PR, but non on the pull_request event, so that you do not get multiple comments.no
outputWhat output should action produce? `comment` - add comment to PR, `report-markdown` - report markdown text in "outputs.report".nocomment
namedescription
reportGenerated markdown report. Exists only if input option "output" is set to "report-markdown".