瀏覽代碼

build: add ci step to analyze project with knip

satnaing 1 年之前
父節點
當前提交
75cdad4d4f
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .github/workflows/ci.yml

+ 3 - 0
.github/workflows/ci.yml

@@ -31,6 +31,9 @@ jobs:
       - name: Lint the code
         run: pnpm lint
 
+      - name: Analyze unused files and dependencies
+        run: pnpm knip
+
       - name: Run Prettier check
         run: pnpm format:check