git.iko.soy/typeable/elm-ui
on master help sign in
Cache node_modules, not .npm
aa7de45Matthew Griffith
.github/workflows/tests.yml+1−1
@@ -24,7 +24,7 @@ jobs:
24 env:
24 env:
25 cache-name: cache-node-modules
25 cache-name: cache-node-modules
26 with:
26 with:
27− path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
27+ path: node_modules
28 key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
28 key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
29 restore-keys: |
29 restore-keys: |
30 ${{ runner.os }}-build-${{ env.cache-name }}-
30 ${{ runner.os }}-build-${{ env.cache-name }}-