Skip to content

Commit d5bf19c

Browse files
committed
refactor: Simplify package-lock.json git diff CI step
Signed-off-by: Tomas Kislan <[email protected]>
1 parent 855fa01 commit d5bf19c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ jobs:
213213

214214
- name: Check package lock drift
215215
run: |
216-
git diff HEAD
217-
test "$(git diff --name-only HEAD | wc -l | xargs)" -eq 0
216+
git diff --exit-code HEAD
218217
219218
audit-prod:
220219
name: Audit - Production

0 commit comments

Comments
 (0)