summaryrefslogtreecommitdiff
path: root/.github/workflows/schema.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/schema.yaml')
-rw-r--r--.github/workflows/schema.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/schema.yaml b/.github/workflows/schema.yaml
new file mode 100644
index 00000000..847f52b9
--- /dev/null
+++ b/.github/workflows/schema.yaml
@@ -0,0 +1,29 @@
+name: rr_json_schema_validation
+
+on:
+ push:
+ branches:
+ - master
+ - stable
+ pull_request:
+
+jobs:
+ validate-json-schema:
+ name: Validate JSON Schema files
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v4
+
+ - name: Setup nodejs
+ uses: actions/setup-node@v4
+ with:
+ node-version: "22"
+
+ - name: Install Test Script Dependencies
+ run: npm install
+ working-directory: ./schemas
+
+ - name: Run Script
+ run: node test.js
+ working-directory: ./schemas