Skip to content

Commit 49433e0

Browse files
gokulhostclaude
andcommitted
fix(scripts): use built-in retry-on-network-failure and 3s backoff
WCN-865 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e30261d commit 49433e0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/npmjs-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
targets: EricCrosson/retry@v1
243243

244244
- name: Run yarn audit
245-
run: retry --up-to 3x -- yarn run audit-high
245+
run: retry --up-to 2x --every 3s -- yarn run audit-high --retry-on-network-failure
246246

247247
- name: Run dependency check
248248
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
targets: EricCrosson/retry@v1
4343

4444
- name: Audit Dependencies
45-
run: retry --up-to 3x -- yarn run improved-yarn-audit --min-severity high
45+
run: retry --up-to 2x --every 3s -- yarn run improved-yarn-audit --min-severity high --retry-on-network-failure
4646

4747
- name: Set Environment Variable for Alpha
4848
if: github.ref != 'refs/heads/master' # only publish changes if on feature branches

0 commit comments

Comments
 (0)