|
3 | 3 | #  GitHub Action: Test |
4 | 4 |
|
5 | 5 | <div align="center"> |
6 | | - <img src="https://opengraph.githubassets.com/798861777139bae96adc7ee652339a4713d1b50ce3b11cfb3ce6c363f2339b53/hoverkraft-tech/ci-github-nodejs" width="60px" align="center" alt="Test" /> |
| 6 | + <img src="https://opengraph.githubassets.com/7e9813f9e19bd5adf686a5ff854c41da9068e2fb45a0d01f3d74b94a77ffe027/hoverkraft-tech/ci-github-nodejs" width="60px" align="center" alt="Test" /> |
7 | 7 | </div> |
8 | 8 |
|
9 | 9 | --- |
|
16 | 16 | [](http://choosealicense.com/licenses/mit/) |
17 | 17 | [](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-nodejs?style=social) |
18 | 18 | [](https://github.com/hoverkraft-tech/ci-github-nodejs/blob/main/CONTRIBUTING.md) |
19 | | - |
20 | 19 |
|
21 | 20 | <!-- badges:end --> |
22 | 21 |
|
@@ -46,7 +45,7 @@ permissions: |
46 | 45 | ## Usage |
47 | 46 |
|
48 | 47 | ```yaml |
49 | | -- uses: hoverkraft-tech/ci-github-nodejs/actions/test@0340fba99303d160fd476ff1e7766125b632dcf9 # ci/adopt-common-3 |
| 48 | +- uses: hoverkraft-tech/ci-github-nodejs/actions/test@02a04ad25ceaacdf3b7200e45fb7fec07fadf4fa # 2.1.0 |
50 | 49 | with: |
51 | 50 | # Disable project and dependency lifecycle scripts during installation. |
52 | 51 | # Set false to allow installation hooks, subject to the package manager's script approval settings. |
@@ -100,6 +99,11 @@ permissions: |
100 | 99 | # Default: `true` |
101 | 100 | comment: "true" |
102 | 101 |
|
| 102 | + # Job ID used to associate native reports with the common ci-reports workflow's job-results. |
| 103 | + # Defaults to the current job ID. Set the outer calling job ID for nested reusable workflows. |
| 104 | + # Matrix runs keep separate artifacts labeled with their working directory. |
| 105 | + report-group: "" |
| 106 | + |
103 | 107 | # GitHub token for coverage PR comments. |
104 | 108 | # Required when coverage is `github` and individual comments are enabled. |
105 | 109 | # Requires permissions to create and update PR comments: |
@@ -142,6 +146,9 @@ permissions: |
142 | 146 | | **`path-mapping`** | Optional path mapping to adjust file paths in test and coverage reports. | **false** | - | |
143 | 147 | | | See the [parse-ci-reports documentation](https://github.com/hoverkraft-tech/ci-github-common/tree/main/actions/quality/parse-ci-reports) for details. | | | |
144 | 148 | | **`comment`** | Publish an individual coverage PR comment. Set false when using the common ci-reports workflow; GitHub summaries and report artifacts remain enabled. | **false** | `true` | |
| 149 | +| **`report-group`** | Job ID used to associate native reports with the common ci-reports workflow's job-results. | **false** | - | |
| 150 | +| | Defaults to the current job ID. Set the outer calling job ID for nested reusable workflows. | | | |
| 151 | +| | Matrix runs keep separate artifacts labeled with their working directory. | | | |
145 | 152 | | **`github-token`** | GitHub token for coverage PR comments. | **false** | - | |
146 | 153 | | | Required when coverage is `github` and individual comments are enabled. | | | |
147 | 154 | | | Requires permissions to create and update PR comments: | | | |
|
0 commit comments