From d9010d4bf8ef78617ae8ae6edccf765d709186c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=97=B4=E8=B4=A7?= <252048765@qq.com> Date: Fri, 6 Sep 2024 21:15:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9jenkinfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 78d844be5..e8340b93f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,8 +22,7 @@ pipeline { sh "npm config set registry https://registry.npmmirror.com" sh "npm install -g pnpm" sh "pnpm install" - sh "npm install -g vite" - sh "vite --mode env.test" + sh "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode test" } }