fix(frontend): increase memory limit for build command and update artifacts

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-04-14 10:31:56 +08:00
parent 5c0c1ef359
commit c3cafc55ff

View File

@ -60,8 +60,8 @@ executeFreeleapsPipeline {
pnpmPackageJsonFile: 'package.json', pnpmPackageJsonFile: 'package.json',
buildCacheEnabled: true, buildCacheEnabled: true,
buildAgentImage: 'node:lts', buildAgentImage: 'node:lts',
buildCommand: 'pnpm -r build', buildCommand: 'NODE_OPTIONS=--max-old-space-size=4096 pnpm -r build',
buildArtifacts: ['freeleaps/dist'], buildArtifacts: ['freeleaps/dist', 'nuxt-frontend/.output/public'],
lintEnabled: false, lintEnabled: false,
sastEnabled: false, sastEnabled: false,
imageRegistry: 'docker.io', imageRegistry: 'docker.io',