github/workflows: cache node_modules

This commit is contained in:
Patrik Oldsberg
2020-03-22 21:17:55 +01:00
parent 39dc09fdd7
commit 5d3974e869
+5
View File
@@ -24,6 +24,11 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with: