Add Biome for lint and code quality check #2
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Run Biome
|
- name: Run Biome
|
||||||
run: biome ci .
|
run: npm run quality-check
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc && rollup -c && npm run cleanup-intermediate",
|
"build": "tsc && rollup -c && npm run cleanup-intermediate",
|
||||||
"prepare": "npm run build",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user