Skip to content

Commit 48437b2

Browse files
committed
Update foreach call
1 parent 22911d3 commit 48437b2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/NativePipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ jobs:
9090
- name: "Install dependencies"
9191
run: yarn install --immutable
9292
- name: "Unit test"
93-
run: yarn workspaces foreach ${{ needs.scope.outputs.scope }} run test
93+
run: yarn workspaces foreach --all run test
9494
- name: "Run build for development"
95-
run: yarn workspaces foreach ${{ needs.scope.outputs.scope }} run build
95+
run: yarn workspaces foreach --all run build
9696
env:
9797
NODE_OPTIONS: --max_old_space_size=6144
9898
- name: "Upload resources artifact"
@@ -379,7 +379,7 @@ jobs:
379379
adb push "/Users/runner/work/native-widgets/native-widgets/detox/apps/app-appstore-debug-androidTest.apk" "/data/local/tmp/detox/Test.apk"
380380
adb shell pm install -r -g -t /data/local/tmp/detox/Application.apk 2>/dev/null
381381
adb shell pm install -r -g -t /data/local/tmp/detox/Test.apk 2>/dev/null
382-
yarn workspaces foreach ${{ needs.scope.outputs.scope }} run test:e2e:android
382+
yarn workspaces foreach --all run test:e2e:android
383383
- name: "Archive runtime logs"
384384
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
385385
if: always()
@@ -456,7 +456,7 @@ jobs:
456456
- name: List supported iOS devices
457457
run: applesimutils --list
458458
- name: "Run tests"
459-
run: yarn workspaces foreach ${{ needs.scope.outputs.scope }} run test:e2e:ios
459+
run: yarn workspaces foreach --all run test:e2e:ios
460460
- name: "Archive runtime logs"
461461
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
462462
if: always()

0 commit comments

Comments
 (0)