From 8598c898db7d92786b037534f51e0183fb729308 Mon Sep 17 00:00:00 2001 From: Felix Schlegel Date: Sun, 10 Nov 2024 17:40:53 +0100 Subject: [PATCH] ci: set provider and sequence in vitest config --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 55bc46c7..605d1021 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,7 +8,11 @@ export default defineConfig({ test: { include: ["src/**/*.{test,spec}.{js,ts}"], reporters: process.env.GITHUB_ACTIONS ? ["default", "github-actions"] : ["default"], + sequence: { + shuffle: true, + }, coverage: { + provider: "v8", enabled: true, cleanOnRerun: true, reporter: process.env.GITHUB_ACTIONS ? ["lcov"] : ["html"],