Cache node_modules, not .npm
commitaa7de4590989c3ed6908c5811a409778085bb113
authorMatthew Griffith <mdg.griffith@gmail.com>
dateFri 13 Mar 2020, 21:27 (7 years ago)
parent04d5730
.github/workflows/tests.yml+1−1
@@ -24,7 +24,7 @@ jobs:
2424 env:
2525 cache-name: cache-node-modules
2626 with:
27− path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
27+ path: node_modules
2828 key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
2929 restore-keys: |
3030 ${{ runner.os }}-build-${{ env.cache-name }}-