Skip to content

fix: Wallet crashes on iOS when you switch portfolios #2

fix: Wallet crashes on iOS when you switch portfolios

fix: Wallet crashes on iOS when you switch portfolios #2

Workflow file for this run

name: Test iOS build
on:
pull_request:
paths:
- .github/workflows/ios-build.yml
- RNReanimated.podspec
- scripts/reanimated_utils.rb
- ios/**
- Common/**
- Example/package.json
- Example/ios/**
push:
branches:
- Reanimated2
jobs:
build:
runs-on: macos-12
strategy:
matrix:
working-directory: [Example]
fail-fast: false
concurrency:
group: ios-${{ matrix.working-directory }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Restore Reanimated node_modules from cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-modules-reanimated-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-node-modules-reanimated-
- name: Install Reanimated node_modules
run: yarn install --frozen-lockfile
- name: Restore app node_modules from cache
uses: actions/cache@v3
with:
path: ${{ matrix.working-directory }}/node_modules
key: ${{ runner.os }}-node-modules-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/yarn.lock', matrix.working-directory)) }}
restore-keys: ${{ runner.os }}-node-modules-${{ matrix.working-directory }}-
- name: Install app node_modules
working-directory: ${{ matrix.working-directory }}
run: yarn install --frozen-lockfile
- name: Restore Pods from cache
uses: actions/cache@v3
with:
path: |
${{ matrix.working-directory }}/ios/Pods
~/Library/Caches/CocoaPods
~/.cocoapods
key: ${{ runner.os }}-pods-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/ios/Podfile.lock', matrix.working-directory)) }}
- name: Install Pods
working-directory: ${{ matrix.working-directory }}/ios
run: pod install
- name: Restore build artifacts from cache
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData
key: ${{ runner.os }}-ios-derived-data-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/ios/Podfile.lock', matrix.working-directory)) }}
- name: Build app
working-directory: ${{ matrix.working-directory }}
run: npx react-native run-ios