Переглянути джерело

fix: remove html reporter & change cov. report retention days

Sv443 3 тижнів тому
батько
коміт
061f32ec76
2 змінених файлів з 2 додано та 1 видалено
  1. 1 0
      .github/workflows/lint-and-test-code.yml
  2. 1 1
      vitest.config.ts

+ 1 - 0
.github/workflows/lint-and-test-code.yml

@@ -64,6 +64,7 @@ jobs:
         with:
           name: coverage
           path: coverage/lcov-report/
+          retention-days: ${{ env.RETENTION_DAYS }}
 
       - name: Upload coverage to Coveralls
         uses: coverallsapp/github-action@v2

+ 1 - 1
vitest.config.ts

@@ -13,7 +13,7 @@ export default defineConfig({
         "lib/index.ts",
         "lib/types.ts",
       ],
-      reporter: ["text", "text-summary", "html", "lcov"],
+      reporter: ["text", "text-summary", "lcov"],
     },
     include: ["lib/**/*.spec.ts"],
     environment: "jsdom",