From 6698fbecfaef0a64b0b3733d0b7ed6d5c673f6c4 Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 27 Jun 2023 20:38:24 +0200 Subject: [PATCH] Closes #2424 --- .github/workflows/graphql-schema-check.yaml | 7 +++---- .github/workflows/graphql-schema-publish.yaml | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/graphql-schema-check.yaml b/.github/workflows/graphql-schema-check.yaml index c9fe1eca69..13268283b7 100644 --- a/.github/workflows/graphql-schema-check.yaml +++ b/.github/workflows/graphql-schema-check.yaml @@ -41,7 +41,6 @@ jobs: - name: schema check env: HIVE_TOKEN: ${{ secrets.hiveToken }} - run: - ./packages/libraries/cli/bin/dev schema:check - "packages/services/api/src/modules/*/module.graphql.ts" ${{ - steps.pr-label-check.outputs.safeFlag }} --github + run: | + curl -sSL https://graphql-hive.com/install.sh | sh + hive schema:check "packages/services/api/src/modules/*/module.graphql.ts" ${{steps.pr-label-check.outputs.safeFlag }} --github diff --git a/.github/workflows/graphql-schema-publish.yaml b/.github/workflows/graphql-schema-publish.yaml index d99ad6cb24..2158e8faa5 100644 --- a/.github/workflows/graphql-schema-publish.yaml +++ b/.github/workflows/graphql-schema-publish.yaml @@ -24,6 +24,6 @@ jobs: - name: schema publish env: HIVE_TOKEN: ${{ secrets.hiveToken }} - run: - ./packages/libraries/cli/bin/dev schema:publish - "packages/services/api/src/modules/*/module.graphql.ts" --force --github + run: | + curl -sSL https://graphql-hive.com/install.sh | sh + hive schema:publish "packages/services/api/src/modules/*/module.graphql.ts" --github