File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,9 +236,13 @@ jobs:
236236 run : |
237237 yarn install --frozen-lockfile
238238
239+ - name : Install retry
240+ uses : BitGo/install-github-release-binary@v2
241+ with :
242+ targets : EricCrosson/retry@v1
243+
239244 - name : Run yarn audit
240- run : |
241- yarn run audit-high
245+ run : retry --up-to 2x --every 3s -- yarn run audit-high --retry-on-network-failure
242246
243247 - name : Run dependency check
244248 run : |
Original file line number Diff line number Diff line change 3636 - name : Install BitGoJS
3737 run : sfw yarn install --with-frozen-lockfile
3838
39+ - name : Install retry
40+ uses : BitGo/install-github-release-binary@v2
41+ with :
42+ targets : EricCrosson/retry@v1
43+
3944 - name : Audit Dependencies
40- run : 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
4146
4247 - name : Set Environment Variable for Alpha
4348 if : github.ref != 'refs/heads/master' # only publish changes if on feature branches
You can’t perform that action at this time.
0 commit comments