Skip to content

Commit

Permalink
Cache ruby dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Pierron committed Nov 21, 2023
1 parent e138c53 commit 278dc8d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
include:
- name: Legacy architecture
scheme: TvOSExample
pod_install_command: pod install
pod_install_command: bundle exec pod install
- name: Fabric architecture
scheme: FabricTvOSExample
pod_install_command: RCT_NEW_ARCH_ENABLED=1 pod install
pod_install_command: RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -29,6 +29,11 @@ jobs:
node-version: 18
cache: "pnpm"
cache-dependency-path: "${{ matrix.scheme }}/pnpm-lock.yaml"
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
- name: Install node dependencies
working-directory: ${{ matrix.scheme }}
run: pnpm install
Expand Down

0 comments on commit 278dc8d

Please sign in to comment.