zebradevs/Web Components Code Quality
This action is designed to format and test Web Component repositories on pull requests. It helps ensure that your code meets the required quality standards.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Token used for pushing fixes and commenting on PRs | yes | — |
| working-directory | The working directory | no | . |
| web-components-src | The path to the directory containing the web components source code | no | src/**/*.{ts,tsx} |
| test-src | The path to the directory containing the test source code | no | src/test/**/*.test.ts |
| test-results-path | The path to the test results file | no | ./test-results.xml |
| coverage-path | The path to the coverage file | no | coverage/lcov.info |
| run-static-analysis | Whether to run static analysis | no | true |
| run-code-formatting | Whether to run code formatting | no | true |
| run-tests | Whether to run tests | no | true |
| run-coverage | Whether to run coverage | no | true |
| create-comment | Whether to create a comment on the PR | no | true |
| coverage-pass-score | The minimum coverage score required to pass | no | 80 |
| eslint-config-path | The path to the ESLint configuration file | no | eslint.config.* |
| test-config-path | The path to the test configuration file | no | web-test-runner.config.* |
| eslint-cmd | The command to run ESLint | no | "" |
| lit-analyzer-cmd | The command to run lit analyzer | no | "" |
Outputs
no outputs