Skip to content

Commit

Permalink
Updated push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
antriksh-9 authored Feb 10, 2024
1 parent d6a5b4f commit efe8236
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,18 @@ jobs:
${{ runner.os }}-node-${{ env.cache-name }}-
${{ runner.os }}-node-
${{ runner.os }}-
- name: Install dependencies
run: npm ci

- name: Generate schema.graphql
run: npm run gen:schema

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- uses: kamilkisiela/graphql-inspector@master
with:
schema: ${{ steps.extract_branch.outputs.branch }}:schema.graphql

0 comments on commit efe8236

Please sign in to comment.