mirror of
https://github.com/rommapp/romm.git
synced 2025-12-22 10:27:13 +00:00
ci: Also check for integrity field in lockfile lint job
This commit is contained in:
2
.github/workflows/typecheck.yml
vendored
2
.github/workflows/typecheck.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user