Merge pull request #2212 from roadrunner-server/dependabot/github_act… #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: rr_json_schema_validation | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - stable | |
| paths: | |
| - '.rr*' | |
| - 'schemas/**' | |
| - '.github/workflows/schema.yaml' | |
| pull_request: | |
| paths: | |
| - '.rr*' | |
| - 'schemas/**' | |
| - '.github/workflows/schema.yaml' | |
| jobs: | |
| validate-json-schema: | |
| name: Validate JSON Schema files | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./schemas | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v5 | |
| - name: Setup nodejs | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install Test Script Dependencies | |
| run: npm install | |
| - name: Run Script | |
| run: node test.js |