Bump the npm_and_yarn group across 2 directories with 5 updates #217
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: iOS CI | |
| on: | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| branches: [master] | |
| paths-ignore: | |
| - '**.md' | |
| jobs: | |
| ios-compile: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # react-native 0.71.4's bundled Yoga (log.cpp) does not compile under | |
| # the runner's default Xcode 26.5; pin to 26.3 (also installed on the | |
| # macos-26 image) which builds the example cleanly. | |
| - name: Select Xcode 26.3 | |
| run: | | |
| sudo xcode-select -s /Applications/Xcode_26.3.app | |
| xcodebuild -version | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| cache-dependency-path: '**/package-lock.json' | |
| - name: Cache cocoapods | |
| uses: actions/cache@v4 | |
| with: | |
| path: ./examples/GumTestApp/ios/Pods | |
| key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pods- | |
| - name: Install node modules | |
| run: npm install | |
| - name: Install example node modules | |
| working-directory: ./examples/GumTestApp/ | |
| run: npm install | |
| - name: Pod install | |
| working-directory: ./examples/GumTestApp/ios | |
| run: pod install | |
| - name: Compile iOS Example | |
| working-directory: ./examples/GumTestApp/ios | |
| run: | | |
| set -o pipefail && \ | |
| xcodebuild -workspace GumTestApp.xcworkspace/ \ | |
| -scheme GumTestApp \ | |
| -destination generic/platform=iOS \ | |
| CODE_SIGN_IDENTITY="" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGN_ENTITLEMENTS="" \ | |
| CODE_SIGNING_ALLOWED="NO" clean build \ | |
| | xcpretty |