lowlydba/tsc Check
🛡️🐶 GitHub Action to check TypeScript errors with tsc and ReviewDog, enforcing error thresholds and incremental type safety.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| reviewdog-version | Version of ReviewDog to use | no | latest |
| typescript-version | Version of the TypeScript npm package to use | no | latest |
| workdir | Working directory relative to the root directory. This is where the action will look for a package.json which declares typescript as a dependency. Default is `.`. | no | . |
| high-water-mark | The high-water mark for the number of errors to allow. If the number of errors is greater than this value, the action will fail. Default is `0`. | no | 0 |
| help-doc-url | URL to the help documentation for this action, if you wish to provide your own. This will be used in the action's failure message. Default is `https://github.com/lowlydba/tsc-check/blob/main/docs/find-tsc-regressions.md` | — | https://github.com/lowlydba/tsc-check/blob/main/docs/find-tsc-regressions.md |
| level | Report level for reviewdog [info,warning,error]. Default is `error`. | no | error |
| reporter | Reporter of reviewdog command [github-check,github-pr-check,github-pr-review]. Default is `github-pr-check`. | no | github-pr-check |
| filter-mode | Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is `added`. | no | added |
| fail-on-error | Exit code for reviewdog when errors are found [true,false]. Default is `false`. | no | false |
| reviewdog-flags | Additional reviewdog flags. Default is ``. | no | "" |
| tool-name | Tool name to use for reviewdog reporter | no | tsc |
| tsc-flags | Flags and args to pass to tsc. Default is `--noEmit --skipLibCheck`. | no | --noEmit --skipLibCheck |
Outputs
no outputs