drop the cached node modules

pull/2806/head
Alex Dima 2021-12-03 19:17:40 +01:00
parent 1f9655af22
commit ee5da3672a
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ jobs:
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-cacheNodeModules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-cacheNodeModules-
key: ${{ runner.os }}-cacheNodeModules2-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-cacheNodeModules2-
- name: execute `npm ci` (1)
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}