add prettier check to ci/cd run
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
d4dfa09345
commit
d26edb058e
|
@ -6,4 +6,5 @@ steps:
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
|
- npm run check
|
||||||
- npm run build
|
- npm run build
|
|
@ -5,7 +5,8 @@
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vue-tsc --noEmit && vite build",
|
"build": "vue-tsc --noEmit && vite build",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"format": "npx prettier --write ."
|
"format": "npx prettier --write ./src/*",
|
||||||
|
"check": "prettier --check ./src/*"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^4.7.0",
|
"@vueuse/core": "^4.7.0",
|
||||||
|
|
Loading…
Reference in a new issue