diff --git a/action.yml b/action.yml index c6879e4..519a9fe 100644 --- a/action.yml +++ b/action.yml @@ -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 }}