Update dependency eslint to v9.13.0 #487
This file contains 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 Build | |
on: | |
pull_request: | |
branches: | |
- 'develop' | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: iOS Build | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: ios | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'yarn' | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 'latest-stable' | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: Restore node_modules from cache | |
uses: actions/cache@v4 | |
id: yarn-cache | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- uses: hendrikmuhs/ccache-action@v1 | |
name: Xcode Compile Cache | |
with: | |
key: ${{ runner.os }}-v2 # makes a unique key w/related restore key internally | |
max-size: 1500M | |
- name: Install dependencies | |
run: yarn install --network-timeout 300000 | |
- name: Setup Ruby (bundle) | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.6 | |
bundler-cache: true | |
- name: Restore Pods cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
ios/Pods | |
~/Library/Caches/CocoaPods | |
~/.cocoapods | |
key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- name: Add Firebase Service | |
run: echo '${{ secrets.GOOGLE_SERVICES_PLIST }}' > ./GoogleService-Info.plist | |
- name: Install Pods | |
run: NO_FLIPPER=1 RCT_NEW_ARCH_ENABLED=1 bundle exec pod install | |
- name: Build App | |
run: | | |
xcodebuild -workspace Katchup.xcworkspace -scheme Katchup -sdk iphonesimulator |