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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user