Skip to content

Commit 4030c4d

Browse files
fix(ci): add npm caching to security.yml npm-audit job
Add cache: npm with matrix-based cache-dependency-path to setup-node for consistency with ci.yml and benchmark.yml
1 parent bd52aea commit 4030c4d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/security.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ jobs:
102102
uses: actions/setup-node@v4
103103
with:
104104
node-version: '18'
105+
cache: 'npm'
106+
cache-dependency-path: ${{ matrix.package }}/package-lock.json
105107

106108
- name: Audit ${{ matrix.package }} (high/critical)
107109
continue-on-error: true

0 commit comments

Comments
 (0)