ci: upgrade react-native to 0.82 #108
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
| name: Build iOS | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| jobs: | |
| build-ios: | |
| name: Build iOS Simulator App | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Enable Corepack | |
| run: | | |
| corepack enable | |
| cd mobile-app && corepack use yarn@4.9.4 | |
| - name: Setup Nim | |
| run: | | |
| brew install nim | |
| echo "$HOME/.nimble/bin" >> $GITHUB_PATH | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.0' | |
| working-directory: mobile-app/ios | |
| - name: Select Xcode 16.4 | |
| run: sudo xcode-select -s "/Applications/Xcode_16.4.app/Contents/Developer" | |
| - name: Build iOS | |
| working-directory: mobile-app | |
| run: make build-ios | |
| - name: Upload Simulator Build | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: nim-rn-ios.app | |
| path: mobile-app/ios/build/Build/Products/Release-iphonesimulator/nimrnmobileapp.app | |
| retention-days: 60 |