From 86247d8d5c40f30fce62beec30ce6f5fc28dc7b6 Mon Sep 17 00:00:00 2001 From: axi92 Date: Tue, 27 Aug 2024 11:23:31 +0200 Subject: [PATCH] build: add yarn cache to github workflow caching --- .github/workflows/android.yml | 1 + .github/workflows/lint.yml | 1 + .github/workflows/release.yml | 1 + .github/workflows/test.yml | 3 +++ 4 files changed, 6 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 4075000..d337e88 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -30,6 +30,7 @@ jobs: path: | node_modules example/node_modules + .yarn/cache key: node-modules - run: | corepack enable diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 495bc20..88a6ef4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,6 +28,7 @@ jobs: path: | node_modules example/node_modules + .yarn/cache key: node-modules - run: yarn - run: yarn lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4693ffd..779f73d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ jobs: path: | node_modules example/node_modules + .yarn/cache key: node-modules - name: Import GPG key id: import-gpg diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7a4882b..e4ce2d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,7 @@ jobs: path: | node_modules example/node_modules + .yarn/cache key: node-modules - run: yarn - run: yarn test @@ -63,6 +64,7 @@ jobs: path: | node_modules example/node_modules + .yarn/cache key: node-modules - name: Cache Xcode DerivedData uses: irgaly/xcode-cache@v1.7.2 @@ -100,6 +102,7 @@ jobs: path: | node_modules example/node_modules + .yarn/cache key: node-modules - name: Cache Gradle id: cache_gradle