Merge pull request #946 from microsoftgraph/permissions-update/2025-0… #4026
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: Validate sample queries | |
| on: [pull_request,push] | |
| jobs: | |
| validate-json-schema: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Validate json schema | |
| uses: docker://orrosenblatt/validate-json-action:latest | |
| env: | |
| INPUT_SCHEMA: /tests/samples.schema.json | |
| INPUT_JSONS: /sample-queries/sample-queries.json | |
| test: | |
| runs-on: ubuntu-latest | |
| needs: validate-json-schema | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install | |
| run: npm install | |
| - name: Run test | |
| run: npm run test |