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" } }