Skip to content

Commit 6157ca2

Browse files
committed
ci(actions): properly using github actions cache with yarn
1 parent 4ec8682 commit 6157ca2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/check.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
path: |
2828
node_modules
2929
*/*/node_modules
30-
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
30+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
31+
restore-keys: |
32+
${{ runner.os }}-yarn-
3133
- name: Install Dependencies
3234
if: steps.yarn-cache.outputs.cache-hit != 'true'
3335
run: yarn --frozen-lockfile

0 commit comments

Comments
 (0)