Skip to content

Commit 3f17f8c

Browse files
Update checksum algorithm for lockfile churn detection
1 parent a24dc9b commit 3f17f8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ jobs:
7474
- name: Test package-lock for unexpected modifications
7575
run: |
7676
npm -v
77-
checksum=$(md5sum package-lock.json)
77+
checksum=$(sha512sum package-lock.json)
7878
npm install --package-lock-only --no-audit
79-
if ! echo ${checksum} | md5sum --quiet -c -; then
79+
if ! echo ${checksum} | sha512sum --quiet -c -; then
8080
echo "package-lock.json was modified unexpectedly. Please rebuild it using npm@$(npm -v) and commit the changes."
8181
exit 1
8282
fi

0 commit comments

Comments
 (0)