feat: initial release #1

Merged
t.behrendt merged 14 commits from initial-commit into main 2025-10-03 17:49:12 +02:00
Showing only changes of commit a4041beaaf - Show all commits

View File

@@ -14,6 +14,7 @@ runs:
- name: Extract schema
shell: bash
run: |
echo "Extracting schema from ${{ inputs.json-file }}"
schema=$(jq -r '.["$schema"]' < ${{ inputs.json-file }})
if [ -n "$schema" ]; then
curl -s $schema > schema.json
@@ -23,8 +24,10 @@ runs:
- name: Update the schema to the latest version
shell: bash
run: |
echo "Updating schema to the latest version"
npx ajv 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 }}