woeterman94/JSON Validator typescript action
Validate JSON files in a repository, optionally against a JSON schema
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| folder | Folder location to scan for JSON files (defaults to repository root) | no | . |
| schema | Path to JSON schema file for validation (optional) | no | "" |
| ignore | Glob patterns to ignore (comma or newline separated). Defaults to node_modules, dist, lib, and .git | no | **/node_modules/**, **/dist/**, **/lib/**, **/.git/** |
| fail-on-invalid | Whether to fail the action when invalid JSON files are found (default: true) | no | true |
Outputs
| name | description |
|---|---|
| valid-files | Number of valid JSON files found |
| invalid-files | Number of invalid JSON files found |