add prettier check to ci/cd run
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
garionion 2021-04-08 14:23:12 +02:00
parent d4dfa09345
commit d26edb058e
Signed by: garionion
GPG key ID: 53352FA607FA681A
2 changed files with 3 additions and 1 deletions

View file

@ -6,4 +6,5 @@ steps:
image: node
commands:
- npm install
- npm run check
- npm run build

View file

@ -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",