ci: add check for integrity in lockfile

This commit is contained in:
Jan van Brügge
2025-01-07 23:29:58 +00:00
parent 3c9c4a9392
commit 1f52bde2ce

View File

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