refactor: remove react-native-reanimated dependency
#732
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
| name: Test iOS build | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/build-ios.yml | |
| - RNLiveMarkdown.podspec | |
| - apple/** | |
| - cpp/** | |
| - example/package.json | |
| - example/ios/** | |
| merge_group: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/build-ios.yml | |
| - RNLiveMarkdown.podspec | |
| - apple/** | |
| - cpp/** | |
| - example/package.json | |
| - example/ios/** | |
| jobs: | |
| build: | |
| if: github.repository == 'Expensify/react-native-live-markdown' | |
| runs-on: macos-15 | |
| concurrency: | |
| group: build-ios-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Select Xcode version | |
| run: sudo xcode-select -s /Applications/Xcode_16.4.app | |
| # v5.0.0 | |
| - name: Check out Git repository | |
| uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 | |
| # v4.3.0 | |
| - name: Restore node_modules from cache | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 | |
| with: | |
| path: | | |
| node_modules | |
| example/node_modules | |
| key: build-ios-node-modules-${{ hashFiles('package-lock.json') }} | |
| restore-keys: build-ios-node-modules- | |
| - name: Install node_modules | |
| run: npm ci | |
| # v4.3.0 | |
| - name: Restore Pods from cache | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 | |
| with: | |
| path: | | |
| example/ios/Pods | |
| ~/Library/Caches/CocoaPods | |
| ~/.cocoapods | |
| key: build-ios-pods-${{ hashFiles('node_modules/react-native/package.json') }} | |
| restore-keys: build-ios-pods- | |
| - name: Install Pods | |
| working-directory: example/ios | |
| run: | | |
| bundler install | |
| bundler exec pod install | |
| - name: Remove .xcode.env.local | |
| working-directory: example/ios | |
| run: rm -rf .xcode.env.local | |
| # v4.3.0 | |
| - name: Restore build artifacts from cache | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 | |
| with: | |
| path: ~/Library/Developer/Xcode/DerivedData | |
| key: build-ios-derived-data-${{ hashFiles('node_modules/react-native/package.json') }} | |
| restore-keys: build-ios-derived-data- | |
| - name: Build app | |
| working-directory: example | |
| run: npx react-native run-ios --no-packager |