Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions .github/actions/setup-e2e-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ runs:
shell: bash

## Android Setup (early for fail-fast) ##

# Set Android environment variables (self-hosted runner has SDK pre-installed)
- name: Set Android environment variables
if: ${{ inputs.platform == 'android' }}
Expand Down Expand Up @@ -165,7 +165,7 @@ runs:
shell: bash

## iOS Platform Setup ##

- name: Configure iOS Signing Certificates
if: ${{ inputs.platform == 'ios' && inputs.configure-keystores == 'true' }}
uses: MetaMask/github-tools/.github/actions/configure-keystore@self-hosted-runners-config
Expand Down Expand Up @@ -198,17 +198,25 @@ runs:
restore-keys: |
${{ inputs.cache-prefix }}-yarn-${{ inputs.platform }}-${{ runner.os }}-

- name: Install JavaScript dependencies
- name: Install JavaScript dependencies with retry
id: yarn-install
run: yarn install --frozen-lockfile
shell: bash
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 #v3.0.2
with:
timeout_minutes: 15
max_attempts: 3
retry_wait_seconds: 30
command: yarn install --frozen-lockfile
env:
NODE_OPTIONS: --max-old-space-size=4096 # Increase memory limit for Node.js due to large dependencies

- name: Install Detox CLI
- name: Install Detox CLI with retry
id: install-detox-cli
run: yarn global add detox-cli
shell: bash
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 #v3.0.2
with:
timeout_minutes: 15
max_attempts: 3
retry_wait_seconds: 30
command: yarn global add detox-cli

- name: Install Foundry
shell: bash
Expand Down
Loading