Skip to content

Merge pull request #891 from microsoftgraph/dev #3861

Merge pull request #891 from microsoftgraph/dev

Merge pull request #891 from microsoftgraph/dev #3861

Workflow file for this run

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