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
|
||||
commands:
|
||||
- npm install
|
||||
- npm run check
|
||||
- npm run build
|
|
@ -5,7 +5,8 @@
|
|||
"dev": "vite",
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
"serve": "vite preview",
|
||||
"format": "npx prettier --write ."
|
||||
"format": "npx prettier --write ./src/*",
|
||||
"check": "prettier --check ./src/*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^4.7.0",
|
||||
|
|
Loading…
Reference in a new issue