Skip to content

Fix erroneous schema id #63

Fix erroneous schema id

Fix erroneous schema id #63

Workflow file for this run

name: JSON Schema Validation
on:
push:
paths:
- 'examples/*.json'
- 'schemas/*.json'
branches:
- main
pull_request:
paths:
- 'examples/*.json'
- 'schemas/*.json'
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Cache npm dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install ajv-cli
run: npm install -g ajv-cli ajv-formats --silent
- name: Validate JSON files
run: scripts/validate_examples.sh