Skip to content

Commit 9c2980c

Browse files
committed
Add Hive schema check for CI
1 parent 860d907 commit 9c2980c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/api-schema.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ jobs:
5050
name: head-gql-schema
5151
path: head
5252

53+
- name: Check with Hive
54+
run: |
55+
curl -sSL https://graphql-hive.com/install.sh | sh
56+
hive schema:check head/schema.graphql \
57+
--registry.accessToken '${{ secrets.HIVE_TOKEN }}' \
58+
--github
59+
5360
- name: Show diff in PR comment
5461
uses: agu-z/gql-diff-action@v2
5562
with:

0 commit comments

Comments
 (0)