@@ -42,20 +42,20 @@ Composite action to test Node.js projects with support for coverage reporting, p
4242
4343## Inputs
4444
45- | Name | Description | Required | Default |
46- | --------------------- | ------------ -------------------------------------------------------------------- | -------- | -------------------- |
47- | ` working-directory` | Working directory where test commands are executed | No | `.` |
48- | `container` | Whether running in container mode (skips checkout and node setup) | No | `false` |
49- | `coverage` | Code coverage reporter : " codecov " , "lcov", or "" | No | `""` |
50- | `lcov-file` | Path to LCOV file for coverage reporting (used with "lcov" coverage) | No | `coverage/lcov.info` |
51- | `codecov-token` | Codecov token for private repositories | No | `""` |
52- | `fail-on-error` | Whether to fail the action if tests fail | No | `true` |
45+ | Name | Description | Required | Default |
46+ | ------------------- | -------------------------------------------------------------------- | -------- | -------------------- |
47+ | ` working-directory` | Working directory where test commands are executed | No | `.` |
48+ | `container` | Whether running in container mode (skips checkout and node setup) | No | `false` |
49+ | `coverage` | Code coverage reporter : " Codecov " , "lcov", or "" | No | `""` |
50+ | `lcov-file` | Path to LCOV file for coverage reporting (used with "lcov" coverage) | No | `coverage/lcov.info` |
51+ | `codecov-token` | Codecov token for private repositories | No | `""` |
52+ | `fail-on-error` | Whether to fail the action if tests fail | No | `true` |
5353
5454# # Outputs
5555
56- | Name | Description |
57- | ----------------- | - --------------------------- |
58- | `test-exit-code` | Exit code from the test run |
56+ | Name | Description |
57+ | ---------------- | --------------------------- |
58+ | `test-exit-code` | Exit code from the test run |
5959
6060# # Coverage Reporters
6161
@@ -158,10 +158,10 @@ For LCOV coverage, ensure your test framework generates an LCOV file:
158158export default defineConfig({
159159 test: {
160160 coverage: {
161- reporter: [' lcov', ' text']
162- }
163- }
164- })
161+ reporter: [" lcov", " text"],
162+ },
163+ },
164+ });
165165` ` `
166166
167167# # Notes
0 commit comments