From fddb319bd128c5d2117a3cc48ae5e28364c95586 Mon Sep 17 00:00:00 2001 From: bjwswang Date: Tue, 2 Apr 2024 06:10:46 +0000 Subject: [PATCH] test gql Signed-off-by: bjwswang --- .github/workflows/build_bff_sdk.yaml | 4 ++-- apiserver/graph/schema/application.gql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_bff_sdk.yaml b/.github/workflows/build_bff_sdk.yaml index 3bf265c44..d3d2339de 100644 --- a/.github/workflows/build_bff_sdk.yaml +++ b/.github/workflows/build_bff_sdk.yaml @@ -40,7 +40,7 @@ jobs: gql: - 'apiserver/graph/schema/*.gql' - name: setting token to npmrc - if: (( github.event_name == 'push' && steps.gql-changes.outputs.gql == 'true') || github.event_name == 'workflow_dispatch') && matrix.no == 1 + if: (( github.event_name == 'push' && steps.gql-changes.outputs.gql == 'true') || github.event_name == 'workflow_dispatch') run: | echo '//registry.npmjs.org/:_authToken="${{ secrets.NPM_TOKEN }}"' >> ~/.npmrc - name: Set variable on Merge pull request @@ -54,7 +54,7 @@ jobs: env: TEST_ONLY: ${{ inputs.OnlyTestGeneratedSdk }} - name: make sdk - if: (steps.gql-changes.outputs.gql == 'true' || github.event_name == 'workflow_dispatch') && matrix.no == 1 + if: (steps.gql-changes.outputs.gql == 'true' || github.event_name == 'workflow_dispatch') run: tests/build-bff-sdk.sh env: GRL_SDK_TEST_ONLY: ${{ env.GRL_SDK_TEST_ONLY }} \ No newline at end of file diff --git a/apiserver/graph/schema/application.gql b/apiserver/graph/schema/application.gql index 723ee1ca6..935a34e43 100644 --- a/apiserver/graph/schema/application.gql +++ b/apiserver/graph/schema/application.gql @@ -1,4 +1,4 @@ -# commoen for test for nows helo +# commoe mutation createApplication($input:CreateApplicationMetadataInput!){ Application{ createApplication(input: $input) {