File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -264,12 +264,25 @@ jobs:
264264 run : conda list
265265
266266 - name : Cache node_modules
267+ id : cache-node-modules
267268 uses : actions/cache@v2
268269 with :
269270 path : ' **/node_modules'
270271 key : |
271272 ${{ env.CACHE_EPOCH }}-${{ runner.os }}-node-atest-${{ hashFiles('yarn.lock') }}
272273
274+ - name : Cache yarn packages
275+ id : cache-yarn-packages
276+ if : steps.cache-node-modules.outputs.cache-hit != 'true'
277+ uses : actions/cache@v2
278+ with :
279+ path : .yarn-packages
280+ key : |
281+ ${{ env.CACHE_EPOCH }}-yarn-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
282+ restore-keys : |
283+ ${{ env.CACHE_EPOCH }}-yarn-${{ runner.os }}-
284+ ${{ env.CACHE_EPOCH }}-yarn-
285+
273286 - uses : actions/cache@v2
274287 with :
275288 path : ~/.julia/artifacts
You can’t perform that action at this time.
0 commit comments