diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index f387698bce..0ab998eed9 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -288,33 +288,33 @@ jobs: path: "./coverage/lcov.info" min_coverage: 0.0 - # Graphql-Inspector: - # if: ${{ github.actor != 'dependabot[bot]' }} - # name: Runs Introspection on the GitHub talawa-api repo on the schema.graphql file - # runs-on: ubuntu-latest - # steps: - # - name: Checkout the Repository - # uses: actions/checkout@v4 - - # - name: Set up Node.js - # uses: actions/setup-node@v4 - # with: - # node-version: '22.x' - - # - name: resolve dependency - # run: npm install -g @graphql-inspector/cli + Graphql-Inspector: + if: ${{ github.actor != 'dependabot[bot]' }} + name: Runs Introspection on the GitHub talawa-api repo on the schema.graphql file + runs-on: ubuntu-latest + steps: + - name: Checkout the Repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '22.x' + + - name: resolve dependency + run: npm install -g @graphql-inspector/cli - # - name: Clone API Repository - # run: | - # # Retrieve the complete branch name directly from the GitHub context - # FULL_BRANCH_NAME=${{ github.base_ref }} - # echo "FULL_Branch_NAME: $FULL_BRANCH_NAME" + - name: Clone API Repository + run: | + # Retrieve the complete branch name directly from the GitHub context + FULL_BRANCH_NAME=${{ github.base_ref }} + echo "FULL_Branch_NAME: $FULL_BRANCH_NAME" - # # Clone the specified repository using the extracted branch name - # git clone --branch $FULL_BRANCH_NAME https://github.com/PalisadoesFoundation/talawa-api && ls -a + # Clone the specified repository using the extracted branch name + git clone --branch $FULL_BRANCH_NAME https://github.com/PalisadoesFoundation/talawa-api && ls -a - # - name: Validate Documents - # run: graphql-inspector validate './src/GraphQl/**/*.ts' './talawa-api/schema.graphql' + - name: Validate Documents + run: graphql-inspector validate './src/GraphQl/**/*.ts' './talawa-api/schema.graphql' Start-App-Without-Docker: name: Check if Talawa Admin app starts (No Docker)