ci: Also check for integrity field in lockfile lint job

This commit is contained in:
Jan van Brügge
2025-10-01 15:12:03 +01:00
parent 93114c3550
commit 06c29119f3

View File

@@ -37,5 +37,5 @@ jobs:
- name: Lockfile lint
run: |
[ -z "$(jq -r '.packages | to_entries[] | select((.key | contains("node_modules")) and (.value | has("resolved") | not)) | .key' < package-lock.json)" ]
[ -z "$(jq -r '.packages | to_entries[] | select((.key | contains("node_modules")) and (.value | has("resolved") and has("integrity") | not)) | .key' < package-lock.json)" ]
working-directory: frontend