Add CI pipeline to test and upload coverage

This commit is contained in:
RcleydsonR
2023-01-26 18:31:32 -03:00
parent 7efb10bfde
commit 5b2ca86129
5 changed files with 167 additions and 6 deletions

View File

@@ -7,6 +7,7 @@
"preview": "vite preview",
"test": "vitest",
"serve": "vue-cli-service serve",
"coverage": "vitest run --coverage",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
@@ -34,6 +35,7 @@
"@types/qrcode": "^1.5.0",
"@vitejs/plugin-vue": "^3.1.2",
"@vitejs/plugin-vue-jsx": "^2.0.1",
"@vitest/coverage-c8": "^0.28.2",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/test-utils": "^2.2.7",