This commit is contained in:
@@ -25,9 +25,9 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Updating schema to the latest version"
|
||||
npx ajv migrate -i schema.json -o schema.json
|
||||
npx ajv-cli migrate -i schema.json -o schema.json
|
||||
- name: Validate JSON
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Validating JSON"
|
||||
npx ajv validate -s schema.json -d ${{ inputs.json-file }}
|
||||
npx ajv-cli validate -s schema.json -d ${{ inputs.json-file }}
|
||||
|
||||
Reference in New Issue
Block a user