Skip to content

Commit 774e9d6

Browse files
authored
chore(build-system-test): Update React Native build system test to capture bundling errors (#5658)
1 parent 6e67ab6 commit 774e9d6

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/build-system-test-react-native.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ jobs:
8686
echo "ruby --version"
8787
ruby --version
8888
continue-on-error: true # brew overwrite step addresses a python install issue: https://github.com/actions/runner-images/issues/8500
89-
- name: Install packages
90-
if: steps.restore-cache.outputs.cache-hit != 'true'
91-
uses: ./.github/actions/install-with-retries
92-
with:
93-
skip-cypress-binary: true
9489
- name: Update CocoaPods
9590
if: ${{ matrix.platform == 'ios' }}
9691
run: |

build-system-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"devDependencies": {
66
"@supercharge/promise-pool": "^2.4.0",
77
"commander": "^10.0.1",
8+
"esbuild-register": "^3.5.0",
89
"json": "^11.0.0",
910
"strip-json-comments-cli": "^2.0.2"
1011
},

build-system-tests/scripts/build-android.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ fi
2727

2828
# Run npm run android in the background
2929
if [ $BUILD_TOOL == 'expo' ]; then
30-
log "command" "npm run android -- -p 19000"
30+
log "command" "npm run android -- -p 19000 >$LOG_FILE &"
3131
# Run npm run android in the background
32-
npm run android -- -p 19000 &
32+
npm run android -- -p 19000 >$LOG_FILE &
3333
npx wait-on -t 20000 tcp:19000
3434
else
3535
log "command" "cd android"

0 commit comments

Comments
 (0)