improve caching

This commit is contained in:
jem 2020-06-29 17:50:14 +02:00
parent 43a077a641
commit 853d87a686

View file

@ -21,7 +21,7 @@ jobs:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
path: /usr/lib/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-