Skip to content

Commit

Permalink
chore: remove cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jakex7 committed Jan 15, 2025
1 parent 6f01d99 commit a180f5f
Showing 1 changed file with 4 additions and 32 deletions.
36 changes: 4 additions & 32 deletions .github/workflows/ios-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,51 +36,23 @@ jobs:
with:
xcode-version: latest-stable

- name: Get react-native-svg node_modules cache
uses: actions/cache@v4
- name: Use Node.js 20
uses: actions/setup-node@v2
with:
path: node_modules
key: ${{ runner.os }}-node-modules-svg-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-node-modules-svg-
node-version: 20
cache: 'yarn'

- name: Install react-native-svg node_modules
run: yarn install --frozen-lockfile

- name: Get app node_modules cache
uses: actions/cache@v4
with:
path: apps/${{ matrix.working-directory }}/node_modules
key: ${{ runner.os }}-node-modules-${{ matrix.working-directory }}-${{ hashFiles(format('apps/{0}/yarn.lock', matrix.working-directory)) }}
restore-keys: ${{ runner.os }}-node-modules-${{ matrix.working-directory }}-

- name: Install app node_modules
working-directory: apps/${{ matrix.working-directory }}
run: yarn install --frozen-lockfile

- name: Get Pods cache
uses: actions/cache@v4
with:
path: apps/${{ matrix.working-directory }}/ios/Pods
key: ${{ runner.os }}-pods-${{ matrix.working-directory }}-${{ hashFiles(format('apps/{0}/ios/Podfile.lock', matrix.working-directory)) }}
restore-keys: |
${{ runner.os }}-pods-${{ matrix.working-directory }}-
- name: Install Pods
working-directory: apps/${{ matrix.working-directory }}/ios
run: bundle install && bundle exec pod install

- name: Get build artifacts cache
uses: actions/cache@v4
with:
path: ~/Library/Developer/Xcode/DerivedData
key: ${{ runner.os }}-ios-derived-data-${{ matrix.working-directory }}-${{ hashFiles(format('apps/{0}/ios/Podfile.lock', matrix.working-directory)) }}
restore-keys: |
${{ runner.os }}-ios-derived-data-${{ matrix.working-directory }}-
- name: Doctor
working-directory: apps/${{ matrix.working-directory }}
run: npx react-native doctor

- name: Build app
working-directory: apps/${{ matrix.working-directory }}
run: npx react-native run-ios --simulator="iPhone 16 Pro" --mode Debug --verbose --no-packager

0 comments on commit a180f5f

Please sign in to comment.