Include package.json content in cache key

pull/4006/head
Henning Dieterichs 2 years ago
parent 815929cfc1
commit 35ba0194b2
No known key found for this signature in database
GPG Key ID: 771381EFFDB9EC06

@ -18,7 +18,7 @@ jobs:
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-cacheNodeModules2-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-cacheNodeModules2-${{ hashFiles('**/package-lock.json', '**/package.json') }}
restore-keys: ${{ runner.os }}-cacheNodeModules2-
- name: execute `npm ci` (1)

Loading…
Cancel
Save