2929 node_modules
3030 **/node_modules
3131 ~/.cache/Cypress
32- key : ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
32+ key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
3333 - run : yarn install --frozen-lockfile
3434 if : steps.yarn-cache.outputs.cache-hit != 'true'
3535 - uses : actions/cache@v2
3939 path : |
4040 packages/*/dist
4141 packages/react-styles/css
42- key : ${{ runner.os }}-dist-14-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
42+ key : ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
4343 - name : Build dist
4444 run : yarn build && yarn build:umd
4545 if : steps.dist.outputs.cache-hit != 'true'
@@ -68,15 +68,15 @@ jobs:
6868 node_modules
6969 **/node_modules
7070 ~/.cache/Cypress
71- key : ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
71+ key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
7272 - run : yarn install --frozen-lockfile
7373 if : steps.yarn-cache.outputs.cache-hit != 'true'
7474 - uses : actions/cache@v2
7575 id : lint-cache
7676 name : Load lint cache
7777 with :
7878 path : ' .eslintcache'
79- key : ${{ runner.os }}-lint-14-${{ hashFiles('yarn.lock') }}
79+ key : ${{ runner.os }}-lint-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
8080 - name : ESLint
8181 run : yarn lint:ts
8282 - name : MDLint
@@ -108,7 +108,7 @@ jobs:
108108 node_modules
109109 **/node_modules
110110 ~/.cache/Cypress
111- key : ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
111+ key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
112112 - run : yarn install --frozen-lockfile
113113 if : steps.yarn-cache.outputs.cache-hit != 'true'
114114 - uses : actions/cache@v2
@@ -118,7 +118,7 @@ jobs:
118118 path : |
119119 packages/*/dist
120120 packages/react-styles/css
121- key : ${{ runner.os }}-dist-14-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
121+ key : ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
122122 - name : Build dist
123123 run : yarn build && yarn build:umd
124124 if : steps.dist.outputs.cache-hit != 'true'
@@ -152,7 +152,7 @@ jobs:
152152 node_modules
153153 **/node_modules
154154 ~/.cache/Cypress
155- key : ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
155+ key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
156156 - run : yarn install --frozen-lockfile
157157 if : steps.yarn-cache.outputs.cache-hit != 'true'
158158 - uses : actions/cache@v2
@@ -162,7 +162,7 @@ jobs:
162162 path : |
163163 packages/*/dist
164164 packages/react-styles/css
165- key : ${{ runner.os }}-dist-14-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
165+ key : ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
166166 - name : Build dist
167167 run : yarn build && yarn build:umd
168168 if : steps.dist.outputs.cache-hit != 'true'
@@ -171,7 +171,7 @@ jobs:
171171 name : Cache webpack
172172 with :
173173 path : ' .cache'
174- key : ${{ runner.os }}-v4-${{ hashFiles('yarn.lock') }}
174+ key : ${{ runner.os }}-v4-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
175175 - name : Build docs
176176 run : yarn build:docs
177177 - name : Upload docs
@@ -207,7 +207,7 @@ jobs:
207207 node_modules
208208 **/node_modules
209209 ~/.cache/Cypress
210- key : ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
210+ key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
211211 - run : yarn install --frozen-lockfile
212212 if : steps.yarn-cache.outputs.cache-hit != 'true'
213213 - uses : actions/cache@v2
@@ -217,7 +217,7 @@ jobs:
217217 path : |
218218 packages/*/dist
219219 packages/react-styles/css
220- key : ${{ runner.os }}-dist-14-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
220+ key : ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
221221 - name : Build dist
222222 run : yarn build && yarn build:umd
223223 if : steps.dist.outputs.cache-hit != 'true'
@@ -258,7 +258,7 @@ jobs:
258258 node_modules
259259 **/node_modules
260260 ~/.cache/Cypress
261- key : ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
261+ key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
262262 - run : yarn install --frozen-lockfile
263263 if : steps.yarn-cache.outputs.cache-hit != 'true'
264264 - uses : actions/cache@v2
@@ -268,7 +268,7 @@ jobs:
268268 path : |
269269 packages/*/dist
270270 packages/react-styles/css
271- key : ${{ runner.os }}-dist-14-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
271+ key : ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
272272 - name : Build dist
273273 run : yarn build && yarn build:umd
274274 if : steps.dist.outputs.cache-hit != 'true'
@@ -305,7 +305,7 @@ jobs:
305305 node_modules
306306 **/node_modules
307307 ~/.cache/Cypress
308- key : ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
308+ key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
309309 - run : yarn install --frozen-lockfile
310310 if : steps.yarn-cache.outputs.cache-hit != 'true'
311311 - uses : actions/cache@v2
@@ -315,7 +315,7 @@ jobs:
315315 path : |
316316 packages/*/dist
317317 packages/react-styles/css
318- key : ${{ runner.os }}-dist-14-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
318+ key : ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
319319 - name : Build dist
320320 run : yarn build && yarn build:umd
321321 if : steps.dist.outputs.cache-hit != 'true'
0 commit comments