phorus-group/Yarn Merge Reports Action
A GitHub Action to merge coverage reports from multiple test runs using nyc
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| node-version | The node version to use | no | 22 |
| coverage-dir | Directory where merged coverage output is written | no | ./test/.merged-coverage |
| test-artifact-1 | First test coverage artifact to download | no | coverage-unit |
| test-artifact-2 | Second test coverage artifact to download | no | coverage-integration |
| codecov-token | Codecov token. If set, uploads merged coverage to Codecov. | no | "" |
Outputs
| name | description |
|---|---|
| total-lines | Total lines to cover with tests |
| lines-covered | Total lines covered with tests |
| coverage-percentage | The coverage percentage |