git.iko.soy/typeable/elm-ui
on master help sign in
cache .npm instead of node_modules
commit5be7ade518ebedf6aac9c88f0d1a86be5a2a7735 authorMatthew Griffith <mdg.griffith@gmail.com> dateSun 15 Mar 2020, 15:27 (7 years ago) parenta98616c
1 file changed+4−9
.github/workflows/tests.yml+4−9
.github/workflows/tests.yml+4−9
@@ -19,17 +19,12 @@ jobs:
1919 with:
2020 node-version: 10
2121
22− - name: Cache node modules
23− uses: actions/cache@v1
24− env:
25− cache-name: cache-node-modules
22+ - uses: actions/cache@v1
2623 with:
27− path: node_modules
28− key: ${{ runner.os }}-testing-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
24+ path: ~/.npm
25+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2926 restore-keys: |
30− ${{ runner.os }}-testing-${{ env.cache-name }}-
31− ${{ runner.os }}-testing-
32− ${{ runner.os }}-
27+ ${{ runner.os }}-node-
3328
3429 - name: Install
3530 run: npm install