actions-marketplace-validations/Jest Code Coverage Badge

Collects Jest Code Coverage metrics and creates an informative Badge for readme files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 27, 2021
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/luk-schweizer_jest-code-coverage-badge-action@09a7111acb3c6998ceb34bdf6e9d8651ec8b8d45 # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
test-commandCommand that will execute and collect test coverage data. Should include --coverage optionnonpx jest --coverage
coverage-typeCoverage type to be gathered. Valid options are: statements, methods or conditionalsnostatements
badge-labelLabel for the badgenocoverage
badge-logoShow jest logonotrue
badge-color-configurationConfiguration for the badge colors depending on the code coverage percentageno[{"color": "red", ">=": 0, "<": 30 }, {"color": "orange", ">=": 30, "<": 40 },{"color": "yellow", ">=": 40, "<": 60 },{"color": "yellowgreen", ">=": 60, "<": 70 },{"color": "green", ">=": 70, "<": 90 },{"color": "brightgreen", ">=": 90, "<=": 100 }]
kvaas-key-urlKVaaS key url where to post coverage values. If not present the action will generate a new url. More info in https://keyvalue.xyzno

no outputs