Enforce local and CI quality gates

This commit is contained in:
morluto
2026-07-12 10:57:48 +08:00
parent 03072e0ea7
commit 8f035abb3a
4 changed files with 24 additions and 11 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ jobs:
node-version: 22
cache: npm
- run: npm ci
- run: npm run knip
- run: npm run lint:dead
duplicates:
name: Duplicate Code (jscpd)
@@ -89,7 +89,7 @@ jobs:
node-version: 22
cache: npm
- run: npm ci
- run: npm test -- --reporter=verbose --reporter=junit --outputFile.junit=test-results.xml
- run: npm run test:coverage -- --reporter=verbose --reporter=junit --outputFile.junit=test-results.xml
- uses: actions/upload-artifact@v4
if: always()
with: