azure-dev/.github/workflows/schema-ci.yml

23 строки
410 B
YAML

name: schema-ci
on:
pull_request:
paths:
- "schemas/**"
branches: [main]
permissions:
contents: read
jobs:
schema-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm install -g jsonlint
- name: Validate schemas JSON
run: jsonlint schemas/**/*.json -c