File tree Expand file tree Collapse file tree
.github/actions/setup-e2e-env Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -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 : 10
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 : 10
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