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

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 image: node
commands: commands:
- npm install - npm install
- npm run check
- npm run build - npm run build

View File

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