File tree Expand file tree Collapse file tree 5 files changed +51
-17
lines changed
actions/checkout-and-setup Expand file tree Collapse file tree 5 files changed +51
-17
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,16 @@ runs:
7474 cache : ${{ ( inputs.is-high-risk-environment != 'true' && steps.download-node-modules.outputs.cache-hit != 'true' ) && 'yarn' || '' }}
7575
7676 # If the node_modules cache was not found (or it's a high-risk environment), run the yarn install
77- - name : Install dependencies
77+ - name : Install dependencies with retry
7878 if : ${{ steps.download-node-modules.outputs.cache-hit != 'true'}}
79- run : yarn --immutable
80- shell : bash
79+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
80+ with :
81+ max_attempts : 2
82+ timeout_minutes : 15
83+ retry_wait_seconds : 30
84+ retry_on : error
85+ command : yarn --immutable
86+ shell : bash
8187
8288 # For the 'prep-deps' job, save the node_modules cache
8389 - name : Cache workspace
Original file line number Diff line number Diff line change @@ -77,11 +77,18 @@ jobs:
7777 cache-dependency-path : ./github-tools/yarn.lock
7878 cache : yarn
7979
80- - name : Install dependencies
80+ - name : Install dependencies with retry
8181 if : ${{ steps.label-check.outputs.skip_check != 'true' }}
82- run : yarn --immutable
83- shell : bash
84- working-directory : ./github-tools
82+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
83+ with :
84+ max_attempts : 2
85+ timeout_minutes : 15
86+ retry_wait_seconds : 30
87+ retry_on : error
88+ shell : bash
89+ command : |
90+ cd ./github-tools
91+ yarn --immutable
8592
8693 - name : Check Changelog
8794 if : ${{ steps.label-check.outputs.skip_check != 'true' }}
Original file line number Diff line number Diff line change 4040 run : corepack enable
4141 working-directory : ./github-tools
4242
43- - name : Install dependencies
44- working-directory : ./github-tools
45- run : yarn --immutable
43+ - name : Install dependencies with retry
44+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
45+ with :
46+ max_attempts : 2
47+ timeout_minutes : 15
48+ retry_wait_seconds : 30
49+ retry_on : error
50+ command : |
51+ cd ./github-tools
52+ yarn --immutable
4653
4754 - name : Run flaky test report script
4855 env :
Original file line number Diff line number Diff line change 5050 run : corepack enable
5151 working-directory : ./github-tools
5252
53- - name : Install dependencies
54- working-directory : ./github-tools
55- run : yarn --immutable
53+ - name : Install dependencies with retry
54+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
55+ with :
56+ max_attempts : 2
57+ timeout_minutes : 15
58+ retry_wait_seconds : 30
59+ retry_on : error
60+ command : |
61+ cd ./github-tools
62+ yarn --immutable
5663
5764 - name : Run post-merge-validation script
5865 working-directory : ./github-tools
Original file line number Diff line number Diff line change @@ -49,10 +49,17 @@ jobs:
4949 shell : bash
5050 working-directory : ./github-tools
5151
52- - name : Install dependencies
53- run : yarn --immutable
54- shell : bash
55- working-directory : ./github-tools
52+ - name : Install dependencies with retry
53+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
54+ with :
55+ max_attempts : 2
56+ timeout_minutes : 15
57+ retry_wait_seconds : 30
58+ retry_on : error
59+ shell : bash
60+ command : |
61+ cd ./github-tools
62+ yarn --immutable
5663
5764 # Step 4: Run Script
5865 - name : Publish Slack Release Testing Status
You can’t perform that action at this time.
0 commit comments