Ensure GraphQL schema and generated code is up-to-date #185
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Ensure GraphQL schema and generated code is up-to-date | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: '0 8 * * *' # 8:00 AM UTC time every day | |
| concurrency: | |
| group: test-graphql-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Ensure GraphQL schema and generated code is up-to-date | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup node | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 22 | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn verify-graphql-code | |
| working-directory: packages/eas-cli |