chore: add new npm command for code quality check
All checks were successful
Publish to npm / quality (push) Successful in 22s
Publish to npm / publish (push) Successful in 30s

This commit is contained in:
Astrian Zheng 2025-05-16 19:56:05 +10:00
parent d5562a4d42
commit 7a55cdc92e
Signed by: Astrian
SSH Key Fingerprint: SHA256:rVnhx3DAKjujCwWE13aDl7uV6+9U1MvydLkNRXJrBiA
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Run Biome
run: biome ci .
run: npm run quality-check
publish:
runs-on: ubuntu-latest

View File

@ -7,7 +7,8 @@
"scripts": {
"build": "tsc && rollup -c && npm run cleanup-intermediate",
"prepare": "npm run build",
"cleanup-intermediate": "rimraf dist/main.js dist/types"
"cleanup-intermediate": "rimraf dist/main.js dist/types",
"quality-check": "biome ci ."
},
"repository": {
"type": "git",