From ade63c8f8ec2997c665c9f8f05cc5b37c1bb8bd4 Mon Sep 17 00:00:00 2001 From: Laurent GAY Date: Mon, 30 Jun 2025 17:46:23 +0200 Subject: [PATCH] correct CI for front-end unit-test - issue 1776 --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index dd230b0bb..a8cab1574 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,7 +5,7 @@ import { VitePWA } from "vite-plugin-pwa"; import { visualizer } from "rollup-plugin-visualizer"; export default defineConfig(({ command }) => { - const isDev = command !== "build"; + const isDev = command !== "build" && !process.env.GITLAB_CI; if (isDev) { // Terminate the watcher when Phoenix quits process.stdin.on("close", () => {