summaryrefslogtreecommitdiff
path: root/.github/workflows/schema.yaml
blob: 847f52b9fd8020ceab6e9d5874e245ddc490c75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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