File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed
.github/actions/setup-e2e-env Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 9090 shell : bash
9191
9292 # # Android Setup (early for fail-fast) ##
93-
93+
9494 # Set Android environment variables (self-hosted runner has SDK pre-installed)
9595 - name : Set Android environment variables
9696 if : ${{ inputs.platform == 'android' }}
@@ -165,7 +165,7 @@ runs:
165165 shell : bash
166166
167167 # # iOS Platform Setup ##
168-
168+
169169 - name : Configure iOS Signing Certificates
170170 if : ${{ inputs.platform == 'ios' && inputs.configure-keystores == 'true' }}
171171 uses : MetaMask/github-tools/.github/actions/configure-keystore@self-hosted-runners-config
@@ -198,17 +198,25 @@ runs:
198198 restore-keys : |
199199 ${{ inputs.cache-prefix }}-yarn-${{ inputs.platform }}-${{ runner.os }}-
200200
201- - name : Install JavaScript dependencies
201+ - name : Install JavaScript dependencies with retry
202202 id : yarn-install
203- run : yarn install --frozen-lockfile
204- shell : bash
203+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
204+ with :
205+ timeout_minutes : 15
206+ max_attempts : 3
207+ retry_wait_seconds : 30
208+ command : yarn install --frozen-lockfile
205209 env :
206210 NODE_OPTIONS : --max-old-space-size=4096 # Increase memory limit for Node.js due to large dependencies
207211
208- - name : Install Detox CLI
212+ - name : Install Detox CLI with retry
209213 id : install-detox-cli
210- run : yarn global add detox-cli
211- shell : bash
214+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
215+ with :
216+ timeout_minutes : 15
217+ max_attempts : 3
218+ retry_wait_seconds : 30
219+ command : yarn global add detox-cli
212220
213221 - name : Install Foundry
214222 shell : bash
You can’t perform that action at this time.
0 commit comments