Skip to content

Commit 84bcb15

Browse files
Fix cache restore action
1 parent 4a569b7 commit 84bcb15

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/actions/npm-setup/action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ runs:
5050
id: npm-cache
5151
with:
5252
path: ${{ env.CACHE_PATHS }}
53-
key: ${{ inputs.runner }}-node-${{ inputs.node-version }}-${{ inputs.workspace }}-${{ hashFiles('package-lock.json', 'packages/testcontainers/package-lock.json', format('packages/modules/{0}/package-lock.json', inputs.workspace)) }}
54-
restore-keys: |
55-
${{ inputs.runner }}-node-${{ inputs.node-version }}-${{ inputs.workspace }}-
56-
${{ inputs.runner }}-node-${{ inputs.node-version }}-
53+
key: ${{ inputs.runner }}-node-${{ inputs.node-version }}-${{ inputs.workspace }}-${{ hashFiles('package-lock.json') }}
5754

5855
- name: Install dependencies
5956
if: steps.npm-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)