Detect breaking GraphQL schema changes with GitHub Actions

20 Dec 2021

name: GraphQL Inspector

on: [push]

jobs:
  test:
    name: Check Schema
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - uses: kamilkisiela/graphql-inspector@master
        with:
          schema: "main:schema.graphql"
{
  "validate": "graphql-inspector validate ./query.graphql ./schema.graphql"
}