chore(frontend): add Knip unused file report

This commit is contained in:
Tunglies
2026-07-12 12:42:27 +08:00
parent 604fdb9252
commit 656b6b6d44
5 changed files with 525 additions and 2 deletions
+5
View File
@@ -30,6 +30,7 @@ jobs:
- 'package.json'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
- 'knip.json'
- 'eslint.config.ts'
- 'tsconfig.json'
- 'vite.config.*'
@@ -73,3 +74,7 @@ jobs:
- name: Run TypeScript typecheck
if: steps.check_frontend.outputs.frontend == 'true'
run: pnpm typecheck
- name: Report unused frontend files
if: steps.check_frontend.outputs.frontend == 'true'
run: pnpm knip:report