Skip to content

Merge pull request #3 from julep-ai/creatorrr/restrict-role-values #3

Merge pull request #3 from julep-ai/creatorrr/restrict-role-values

Merge pull request #3 from julep-ai/creatorrr/restrict-role-values #3

name: Validate JSON Schema
on:
push:
paths:
- 'specs/*.json'
pull_request:
paths:
- 'specs/*.json'
jobs:
validate-jsonschema:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
- name: Install ajv-cli
run: npm install -g ajv-cli
- name: Validate JSON Schema files
run: ajv compile -s specs/*.json