Skip to content

Commit 9356464

Browse files
Sync from base-builder
1 parent fc6590d commit 9356464

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/generate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ jobs:
268268
node -v
269269
[ -e "node_modules" ] && git rm -r node_modules
270270
npm install --save
271+
# npm install honors the committed package-lock.json, so vulnerable
272+
# transitive deps stay pinned forever. audit fix bumps only the
273+
# vulnerable ones, within the existing semver ranges (no --force).
274+
npm audit fix
271275
git add node_modules
272276
273277
- name: Check modifications

0 commit comments

Comments
 (0)