@@ -76,27 +76,27 @@ Action to test Node.js projects with support for coverage reporting and pull req
7676
7777## Inputs
7878
79- | **Input** | **Description** | **Required** | **Default** |
80- | ----------------------- | --------------------------------------------------------------------- | ------------ | ----------- |
81- | **` working-directory`** | Working directory where test commands are executed. | **false** | `.` |
82- | | Can be absolute or relative to the repository root. | | |
83- | **`container`** | Whether running in container mode (skips checkout and node setup) | **false** | `false` |
84- | **`command`** | NPM/package manager script command to run for testing. | **false** | `test:ci` |
85- | | This should be a script defined in your package.json. | | |
86- | | The command should generate coverage report files in a standard format.| | |
87- | **`coverage`** | Code coverage reporter to use. Supported values : | **false** | `github` |
88- | | - "github " : Use ReportGenerator for PR comments with coverage reports | | |
89- | | - "codecov " : Upload coverage to Codecov | | |
90- | | - "" : No coverage reporting | | |
91- | **`coverage-files`** | Path to coverage files for reporting. | **false** | - |
92- | | Supports multiple formats (Cobertura, OpenCover, lcov, etc.). | | |
93- | | Can be a single file or multiple files separated by semicolons. | | |
94- | | If not specified, auto-detection will be attempted for common paths : | | |
95- | | - coverage/cobertura-coverage.xml, coverage/coverage.xml | | |
96- | | - coverage/lcov.info | | |
97- | | - coverage/clover.xml | | |
98- | **`github-token`** | GitHub token for coverage PR comments. | **false** | - |
99- | | Required when coverage is set to "github". | | |
79+ | **Input** | **Description** | **Required** | **Default** |
80+ | ----------------------- | ----------------------------------------------------------------------- | ------------ | ----------- |
81+ | **` working-directory`** | Working directory where test commands are executed. | **false** | `.` |
82+ | | Can be absolute or relative to the repository root. | | |
83+ | **`container`** | Whether running in container mode (skips checkout and node setup) | **false** | `false` |
84+ | **`command`** | NPM/package manager script command to run for testing. | **false** | `test:ci` |
85+ | | This should be a script defined in your package.json. | | |
86+ | | The command should generate coverage report files in a standard format. | | |
87+ | **`coverage`** | Code coverage reporter to use. Supported values : | **false** | `github` |
88+ | | - "GitHub " : Use ReportGenerator for PR comments with coverage reports | | |
89+ | | - "Codecov " : Upload coverage to Codecov | | |
90+ | | - "" : No coverage reporting | | |
91+ | **`coverage-files`** | Path to coverage files for reporting. | **false** | - |
92+ | | Supports multiple formats (Cobertura, OpenCover, lcov, etc.). | | |
93+ | | Can be a single file or multiple files separated by semicolons. | | |
94+ | | If not specified, auto-detection will be attempted for common paths : | | |
95+ | | - coverage/cobertura-coverage.xml, coverage/coverage.xml | | |
96+ | | - coverage/lcov.info | | |
97+ | | - coverage/clover.xml | | |
98+ | **`github-token`** | GitHub token for coverage PR comments. | **false** | - |
99+ | | Required when coverage is set to "GitHub". | | |
100100
101101<!-- inputs:end -->
102102<!-- secrets:start -->
0 commit comments