Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[no-Jira] Add retry logic to GraphQL Codegen action #880

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ jobs:
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 📈 Run GraphQL Codegen
run: |
yarn gql
yarn gql:server
uses: nick-fields/retry@v3
with:
command: |
yarn gql
yarn gql:server
timeout_minutes: 1
retry_wait_seconds: 60
max_attempts: 5
- name: 🧪 Test (chunk ${{ matrix.chunk }})
run: yarn test:coverage --ci --shard ${{ matrix.chunk }}
- name: Codecov
Expand All @@ -48,9 +53,14 @@ jobs:
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 📈 Run GraphQL Codegen
run: |
yarn gql
yarn gql:server
uses: nick-fields/retry@v3
with:
command: |
yarn gql
yarn gql:server
timeout_minutes: 1
retry_wait_seconds: 60
max_attempts: 5
- name: 💨 ESLint
run: yarn lint:ci

Expand All @@ -64,9 +74,14 @@ jobs:
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 📈 Run GraphQL Codegen
run: |
yarn gql
yarn gql:server
uses: nick-fields/retry@v3
with:
command: |
yarn gql
yarn gql:server
timeout_minutes: 1
retry_wait_seconds: 60
max_attempts: 5
- name: ✅ TypeScript lint
run: yarn lint:ts

Expand Down
Loading