use package-lock.json in CI

This commit is contained in:
Robin Malfait 2021-04-02 19:52:03 +02:00 committed by Adam Wathan
parent 0990b83755
commit ec6d91d68c

View File

@ -28,7 +28,7 @@ jobs:
uses: actions/cache@v2.1.1
with:
path: node_modules
key: nodeModules-${{ hashFiles('**/yarn.lock') }}-${{ matrix.node-version }}
key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
restore-keys: |
nodeModules-
- name: Install dependencies