github/workflows: repurpose node_modules cache to cache .cache

This commit is contained in:
Patrik Oldsberg
2020-03-27 14:55:19 +01:00
parent e59ddb4d7c
commit e2014836b5
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -29,11 +29,11 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: cache node_modules
- name: cache node_modules/.cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
path: node_modules/.cache
key: node_modules-cache
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
+3 -3
View File
@@ -27,11 +27,11 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: cache node_modules
- name: cache node_modules/.cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
path: node_modules/.cache
key: node_modules-cache
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with: