https://github.com/ofkm/gha-svelte-check
GitHub Action for running svelte-check with problem matcher
https://github.com/ofkm/gha-svelte-check
Last synced: 12 months ago
JSON representation
GitHub Action for running svelte-check with problem matcher
- Host: GitHub
- URL: https://github.com/ofkm/gha-svelte-check
- Owner: ofkm
- Created: 2025-07-13T17:33:25.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-13T18:11:16.000Z (12 months ago)
- Last Synced: 2025-07-13T20:25:14.252Z (12 months ago)
- Language: JavaScript
- Size: 298 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Svelte Check Action
A GitHub Action that runs `svelte-check` with enhanced error reporting through problem matchers.
## Usage
```yaml
- name: Run Svelte Check
uses: ofkm/gha-svelte-check@v1
with:
working-directory: './src'
fail-on-warnings: true
fail-on-hints: false
tsconfig: './tsconfig.json'
```
## Inputs
| Input | Description | Required | Default |
|-------|-------------|----------|---------|
| `working-directory` | Working directory to run svelte-check in | No | `.` |
| `fail-on-warnings` | Fail the action if warnings are found | No | `false` |
| `fail-on-hints` | Fail the action if hints are found | No | `false` |
| `tsconfig` | Path to tsconfig file | No | `` |
## Outputs
| Output | Description |
|--------|-------------|
| `errors` | Number of errors found |
| `warnings` | Number of warnings found |
| `hints` | Number of hints found |