Skip to content

Commit 10180db

Browse files
authored
chore: generate package-lock.json from scratch to ensure accuracy (louislam#7077)
1 parent 9be0f8a commit 10180db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/npm-update.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ jobs:
3030
with:
3131
node-version: 20
3232

33-
- name: Run npm update
34-
run: npm update --package-lock-only
33+
- name: Generate lockfile from scratch
34+
run: |
35+
rm -f package-lock.json
36+
npm install --package-lock-only
3537
3638
- name: Check if there are changes
3739
id: check_changes

0 commit comments

Comments
 (0)