Skip to content

Raw data

Raw data #3

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Check JSON Schemas
run: |
npm install -g ajv-cli
ajv compile -s schemas/*.json -r schemas/ --missing-refs
for schema in $(ls schemas); do
for file in $(find data -name "*.json"); do
ajv validate -s schemas/$schema -d $file || exit 1
done
done