ci: add Knip dependency check

Add a dependency-only Knip CI shard, keep full unused-file mode manual, and scope pnpm's release-age override to the latest Knip dlx install.
This commit is contained in:
Peter Steinberger
2026-04-29 09:10:48 +01:00
committed by GitHub
parent 2c0449571c
commit 72cf700fbf
4 changed files with 31 additions and 2 deletions

View File

@@ -1199,6 +1199,9 @@ jobs:
- check_name: check-lint
task: lint
runner: blacksmith-16vcpu-ubuntu-2404
- check_name: check-dependencies
task: dependencies
runner: ubuntu-24.04
- check_name: check-policy-guards
task: policy-guards
runner: ubuntu-24.04
@@ -1281,6 +1284,9 @@ jobs:
lint)
pnpm lint --threads=8
;;
dependencies)
pnpm deadcode:dependencies
;;
policy-guards)
pnpm lint:webhook:no-low-level-body-read
pnpm lint:auth:no-pairing-store-group