Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add GraphQL Inspector action (#10179)

Patryk Zawadzki6ea99bfe69aa
diff --git a/.github/workflows/graphql-inspector.yml b/.github/workflows/graphql-inspector.yml
new file mode 100644
index 0000000000..1cfac1be8d
--- /dev/null
+++ b/.github/workflows/graphql-inspector.yml
@@ -0,0 +1,16 @@
+name: GraphQL Inspector
+
+on:
+ push:
+ paths: [ "**.graphql" ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - uses: kamilkisiela/graphql-inspector@v3
+ with:
+ schema: "main:saleor/graphql/schema.graphql"