From ba2bfa5b5c8b5002fb5d82abd0184215803afacc Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 5 Aug 2023 16:57:17 +0100 Subject: [PATCH] CI: Trying to enable Yarn cache --- .github/workflows/build-android.yml | 1 + .github/workflows/build-macos-m1.yml | 1 + .github/workflows/github-actions-main.yml | 2 ++ 3 files changed, 4 insertions(+) diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index bec4c78e97..bd213d6dd2 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -29,6 +29,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '18' + cache: 'yarn' - name: Install Yarn run: | diff --git a/.github/workflows/build-macos-m1.yml b/.github/workflows/build-macos-m1.yml index c6c4e91de7..f14a0a195b 100644 --- a/.github/workflows/build-macos-m1.yml +++ b/.github/workflows/build-macos-m1.yml @@ -26,6 +26,7 @@ jobs: # We need to pin the version to 18.15, because 18.16+ fails with this error: # https://github.com/facebook/react-native/issues/36440 node-version: '18.15.0' + cache: 'yarn' - name: Install Yarn run: | diff --git a/.github/workflows/github-actions-main.yml b/.github/workflows/github-actions-main.yml index 11c471c365..1bba4477f9 100644 --- a/.github/workflows/github-actions-main.yml +++ b/.github/workflows/github-actions-main.yml @@ -75,6 +75,7 @@ jobs: # We need to pin the version to 18.15, because 18.16+ fails with this error: # https://github.com/facebook/react-native/issues/36440 node-version: '18.15.0' + cache: 'yarn' - name: Install Yarn run: | @@ -160,6 +161,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '18' + cache: 'yarn' - name: Install Yarn run: |