Skip to content

Commit 37f2fe5

Browse files
committed
switch yarn v1 to yarn v3 at setup e2e environment action
1 parent f932aba commit 37f2fe5

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/actions/setup-e2e-env/action.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ inputs:
1212
yarn-version:
1313
description: Yarn version to use with Corepack
1414
required: false
15-
default: '1.22.22'
15+
default: '3.8.7'
1616
setup-simulator:
1717
description: 'Whether to setup simulator/emulator'
1818
required: false
@@ -214,19 +214,10 @@ runs:
214214
timeout_minutes: 15
215215
max_attempts: 3
216216
retry_wait_seconds: 30
217-
command: yarn install --frozen-lockfile
217+
command: yarn install --immutable
218218
env:
219219
NODE_OPTIONS: --max-old-space-size=4096 # Increase memory limit for Node.js due to large dependencies
220220

221-
- name: Install Detox CLI with retry
222-
id: install-detox-cli
223-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 #v3.0.2
224-
with:
225-
timeout_minutes: 15
226-
max_attempts: 3
227-
retry_wait_seconds: 30
228-
command: yarn global add detox-cli
229-
230221
- name: Install Foundry
231222
shell: bash
232223
run: |
@@ -345,4 +336,4 @@ runs:
345336
- name: Check simutils
346337
if: ${{ inputs.platform == 'ios' }}
347338
run: xcrun simctl list devices
348-
shell: bash
339+
shell: bash

0 commit comments

Comments
 (0)