From 03f1ff65fe94e77e3448c08af9a28cd5c518260b Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Fri, 24 Mar 2023 10:19:42 +0100 Subject: [PATCH] V13: build new backoffice on Azure (#14005) * add build scripts for new BO so it doesn't run through msbuild * add node config for max_old_space_size to increase allowed heap size --- build/azure-pipelines.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index cf19248899..ad42799403 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -42,6 +42,7 @@ stages: variables: npm_config_cache: $(Pipeline.Workspace)/.npm_client + NODE_OPTIONS: --max_old_space_size=16384 jobs: - job: A displayName: Build Umbraco CMS @@ -71,6 +72,12 @@ stages: gulpFile: src/Umbraco.Web.UI.Client/gulpfile.js targets: coreBuild workingDirectory: src/Umbraco.Web.UI.Client + - script: npm ci --no-fund --no-audit --prefer-offline + workingDirectory: src/Umbraco.Web.UI.New.Client + displayName: Run npm ci + - script: npm run build:for:cms + displayName: Run New Backoffice Build + workingDirectory: src/Umbraco.Web.UI.New.Client - task: UseDotNet@2 displayName: Use .NET $(dotnetVersion) inputs: