dkhunt27/NX Code Coverage
Github action for combining/compiling code coverage from an nx monorepo
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Oct 2, 2025
- License
- MIT
Pinned Snippet
uses: dkhunt27/action-nx-code-coverage@f4b85986f2cb7841d1f411fac2837bbd7ba0c515 # v3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Github token | yes | — |
| no-coverage-ran | true/false if no coverage was ran; useful if using nx affected and it returned no projects | yes | — |
| coverage-folder | path to folder containing project folders with coverage data (default 'coverage') | no | — |
| coverage-base-folder | path to folder containing project folders with coverage data for diff/base comparison (default 'coverage-base') | no | — |
| gist-processing | true/false should save results/badge to gist | yes | — |
| gist-token | Your secret with the gist scope for coverage badge; required if gist-processing not false | no | — |
| gist-id | The ID of the gist to use; required if gist-processing not false | no | — |
| label-color | The left color of the badge | no | — |
| color | The right color of the badge | no | — |
| is-error | The color will be red and cannot be overridden | no | — |
| named-logo | A logo name from simpleicons.org | no | — |
| logo-svg | An svg-string to be used as logo | no | — |
| logo-color | The color for the logo | no | — |
| logo-width | The space allocated for the logo | no | — |
| logo-position | The position of the logo | no | — |
| style | The style like "flat" or "social" | no | — |
| cache-seconds | The cache lifetime in seconds (must be greater than 300) | no | — |
| hide-coverage-reports | true/false to hide the coverage reports | yes | — |
| hide-unchanged | true/false to hide the coverage results that have no diffs | yes | — |
Outputs
no outputs