Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fersilva16/ts-report-action
GitHub Action to report TypeScript errors in Pull Requests
https://github.com/fersilva16/ts-report-action
Last synced: 11 days ago
JSON representation
GitHub Action to report TypeScript errors in Pull Requests
- Host: GitHub
- URL: https://github.com/fersilva16/ts-report-action
- Owner: fersilva16
- License: mit
- Created: 2022-05-20T18:26:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-10T21:46:42.000Z (over 2 years ago)
- Last Synced: 2024-10-14T13:04:53.180Z (about 1 month ago)
- Language: TypeScript
- Size: 4.38 MB
- Stars: 41
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript report action
GitHub Action to report TypeScript errors in Pull Requests
![Example](https://i.imgur.com/pfI3zw1.png)
## Usage
### Only running in change files
```yml
- name: Get changed typescript files
id: changed-typescript-files
uses: tj-actions/changed-files@v20
with:
base_sha: ${{ github.event.pull_request.base.sha }}
files: |
**/*.ts
**/*.tsx- name: TypeScript report
if: steps.changed-typescript-files.outputs.any_changed == 'true'
uses: fersilva16/[email protected]
with:
files: ${{ steps.changed-typescript-files.outputs.all_changed_files }}
```### With project
```yml
- name: TypeScript report
uses: fersilva16/[email protected]
with:
project: path/to/tsconfig.json
```