Skip to content

Commit 96ef3fa

Browse files
authored
chore: remove automatic retries from workflow (#5991)
1 parent 15943ef commit 96ef3fa

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/workflow.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,8 @@ jobs:
109109
run: npx nx affected --target=build
110110
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
111111
- name: Tests
112-
uses: nick-fields/retry@v3
112+
run: npx nx affected --target=test:ci --exclude=@netlify/build --parallel=3
113113
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
114-
with:
115-
timeout_minutes: 30
116-
max_attempts: 3
117-
retry_on: error
118-
command: npx nx affected --target=test:ci --exclude=@netlify/build --parallel=3
119114

120115
test-build:
121116
runs-on: ${{ matrix.os }}
@@ -193,17 +188,12 @@ jobs:
193188
run: npm run build
194189
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
195190
- name: Tests
196-
uses: nick-fields/retry@v3
191+
run: npx lerna run test:ci --scope @netlify/build
197192
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
198193
env:
199194
# split tests across multiple machines
200195
CI_NODE_INDEX: ${{ matrix.machine }}
201196
CI_NODE_TOTAL: 5
202-
with:
203-
timeout_minutes: 30
204-
max_attempts: 3
205-
retry_on: error
206-
command: npx lerna run test:ci --scope @netlify/build
207197
- name: Get test coverage flags
208198
id: test-coverage-flags
209199
if: ${{ !steps.release-check.outputs.IS_RELEASE }}

0 commit comments

Comments
 (0)