Skip to content

Commit 0e5b43f

Browse files
committed
corepackk uuuuuuhg
1 parent 2b4823e commit 0e5b43f

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/ci-e2e-nightly.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ jobs:
5252
uses: flox/install-flox-action@v2.2.0
5353
- name: Yarn debug (iOS env)
5454
run: |
55-
flox activate -d env/ios/latest -- bash -lc 'echo PATH=$PATH && ls -l /Users/runner/.local/bin || true && which yarn && yarn --version && node -v && corepack --version'
55+
CLEAN_PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/.yarn/bin' | paste -sd:)
56+
PATH="$CLEAN_PATH" flox activate -d env/ios/latest -- bash -lc 'echo PATH=$PATH && ls -l /Users/runner/.local/bin || true && which yarn and yarn --version && node -v && corepack --version'
5657
- name: iOS E2E Tests
5758
run: |
58-
flox activate -d env/ios/latest -- bash -lc "yarn e2e:ios"
59+
CLEAN_PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/.yarn/bin' | paste -sd:)
60+
PATH="$CLEAN_PATH" flox activate -d env/ios/latest -- bash -lc "yarn e2e:ios"
5961
6062
run-e2e-android:
6163
continue-on-error: true

.github/workflows/ci-e2e-optional.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ jobs:
5757
uses: flox/install-flox-action@v2.2.0
5858
- name: Yarn debug (iOS env)
5959
run: |
60-
flox activate -d env/ios/latest -- bash -lc 'echo PATH=$PATH && ls -l /Users/runner/.local/bin || true && which yarn && yarn --version && node -v && corepack --version'
60+
CLEAN_PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/.yarn/bin' | paste -sd:)
61+
PATH="$CLEAN_PATH" flox activate -d env/ios/latest -- bash -lc 'echo PATH=$PATH && ls -l /Users/runner/.local/bin || true && which yarn && yarn --version && node -v && corepack --version'
6162
- name: iOS E2E Tests
6263
run: |
63-
flox activate -d env/ios/latest -- bash -lc "yarn e2e:ios"
64+
CLEAN_PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/.yarn/bin' | paste -sd:)
65+
PATH="$CLEAN_PATH" flox activate -d env/ios/latest -- bash -lc "yarn e2e:ios"
6466
6567
run-e2e-android:
6668
if: (github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'run-e2e') || github.event_name == 'push') && (github.event.inputs.platforms == 'all' || github.event.inputs.platforms == '' || github.event.inputs.platforms == 'android' || github.event.inputs.platforms == null)

0 commit comments

Comments
 (0)