chore(CI): fix codecov reporter (#12210)

* chore(CI): update codecov/codecov-action to v3

* chore: use default test reporter

* chore: use text-summary

* chore: update coverage dir

* chore: switch to istanbul

* chore: use lcov

* chore: fix open:coverage path
This commit is contained in:
neverland
2023-08-20 19:55:39 +08:00
committed by GitHub
parent 694daef6ea
commit 87ed409842
4 changed files with 27 additions and 34 deletions
+3 -3
View File
@@ -23,7 +23,7 @@
"test:update": "vitest run -u",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"open:coverage": "open test/coverage/index.html"
"open:coverage": "open test/coverage/lcov-report/index.html"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
@@ -61,14 +61,14 @@
"@vant/icons": "workspace:*",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vitest/coverage-v8": "0.34.2",
"@vitest/coverage-istanbul": "0.34.1",
"@vue/runtime-core": "^3.3.4",
"@vue/test-utils": "^2.3.2",
"diffable-html": "^5.0.0",
"jsdom": "^22.1.0",
"typescript": "^5.0.4",
"vite": "^4.4.2",
"vitest": "^0.34.2",
"vitest": "0.34.2",
"vitest-canvas-mock": "^0.3.2",
"vue": "^3.3.4",
"vue-router": "^4.1.6"