ci(ui): report only error-level knip findings in CI (#32971)

This commit is contained in:
ryan-crabbe-berri 2026-07-12 21:27:55 -07:00 • committed by GitHub
parent 3e9e52042a
commit d0428cdd53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -89,4 +89,4 @@ jobs:
- name: Check for dead code (knip)
if: ${{ !cancelled() && steps.changed.outputs.has_files == 'true' }}
run: npm run knip
run: npm run knip:ci

View file

@ -19,6 +19,7 @@
"e2e:migration": "playwright test e2e_tests/tests/migration/migratedPages.spec.ts --config e2e_tests/playwright.config.ts",
"e2e:migration:root": "playwright test --config e2e_tests/migration.serverRootPath.config.ts",
"knip": "knip",
"knip:ci": "knip --exclude exports,nsExports,types,nsTypes,enumMembers,classMembers,duplicates",
"knip:fix": "knip --fix",
"gen:api": "node scripts/gen-api-types.mjs"
},