list tidying #2703
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .github/workflows/build-ios.yml | |
| name: Build JS Bundle | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-bundle: | |
| runs-on: [macos-latest] | |
| steps: | |
| - name: 🧾 Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: 🖥 Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.4 | |
| - name: 📦 Install dependencies | |
| run: bun i | |
| - name: 🧩 Build JS bundle for iOS | |
| run: | | |
| mkdir -p ios/build | |
| bun x react-native bundle \ | |
| --platform ios \ | |
| --dev false \ | |
| --entry-file index.js \ | |
| --bundle-output ios/main.jsbundle \ | |
| --assets-dest ios | |
| - name: 🧩 Build JS bundle for Android | |
| run: | | |
| mkdir -p android/app/src/main/assets | |
| mkdir -p android/app/src/main/res | |
| bun x react-native bundle \ | |
| --platform android \ | |
| --dev false \ | |
| --entry-file index.js \ | |
| --bundle-output android/app/src/main/assets/index.android.bundle \ | |
| --assets-dest android/app/src/main/res |