Merge pull request #355 from spotify/rugvip/cache

github/workflows: cache node_modules
This commit is contained in:
Patrik Oldsberg
2020-03-23 08:59:04 +01:00
committed by GitHub
+5
View File
@@ -23,6 +23,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: