Skip to content

Commit

Permalink
Use multiple package.json files as cache key (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kusnierz authored Apr 9, 2024
1 parent ecf1a45 commit eb40612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ runs:
**/node_modules
~/.cache/Cypress
.cache/puppeteer
key: ${{ runner.os }}-modules-${{ hashFiles('package.json') }}
key: ${{ runner.os }}-modules-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-modules-${{ hashFiles('package.json') }}
${{ runner.os }}-modules-${{ hashFiles('**/package.json') }}
${{ runner.os }}-modules-
- name: Update NPM
if: steps.determine-node-npm-version.outputs.npm-version != ''
Expand Down

0 comments on commit eb40612

Please sign in to comment.