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:
|
variables:
|
||||||
npm_config_cache: $(Pipeline.Workspace)/.npm_client
|
npm_config_cache: $(Pipeline.Workspace)/.npm_client
|
||||||
|
NODE_OPTIONS: --max_old_space_size=16384
|
||||||
jobs:
|
jobs:
|
||||||
- job: A
|
- job: A
|
||||||
displayName: Build Umbraco CMS
|
displayName: Build Umbraco CMS
|
||||||
@@ -71,6 +72,12 @@ stages:
|
|||||||
gulpFile: src/Umbraco.Web.UI.Client/gulpfile.js
|
gulpFile: src/Umbraco.Web.UI.Client/gulpfile.js
|
||||||
targets: coreBuild
|
targets: coreBuild
|
||||||
workingDirectory: src/Umbraco.Web.UI.Client
|
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
|
- task: UseDotNet@2
|
||||||
displayName: Use .NET $(dotnetVersion)
|
displayName: Use .NET $(dotnetVersion)
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Reference in New Issue
Block a user