Skip to content

Commit 7d8b3c4

Browse files
authored
Add cache-dependency-path for npm caching
Added cache-dependency-path to setup-node action.
1 parent 7d6f408 commit 7d8b3c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/snyk-infrastructure.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
with:
2929
node-version: '20'
3030
cache: 'npm'
31+
cache-dependency-path: package.json
3132

3233
- name: Install Dependencies
3334
# This fixes the SNYK-CLI-0000 "Missing node_modules" error

0 commit comments

Comments
 (0)