Skip to content

Commit f66a71e

Browse files
committed
Enable cache on vendor assets.
1 parent 699f78c commit f66a71e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ jobs:
112112
id: cache-yarn
113113
uses: actions/cache@v2
114114
with:
115-
path: "**/node_modules"
116-
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
115+
path: |
116+
"**/vendor/modules"
117+
"**/node_modules"
118+
key: yarn-build-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/vendor/yarn.lock') }}
117119
restore-keys: |
118120
yarn-build-
119121

0 commit comments

Comments
 (0)