chore: add new npm command for code quality check
This commit is contained in:
parent
d5562a4d42
commit
7a55cdc92e
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user