Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -43,11 +43,13 @@ steps:
|
|||||||
# Start: Build Frontend
|
# Start: Build Frontend
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '14.x'
|
versionSpec: '18.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
- script: |
|
- script: |
|
||||||
npm install -g @angular/cli
|
npm install -g @angular/cli
|
||||||
npm install
|
npm install -g yarn
|
||||||
|
yarn install
|
||||||
|
ng config --global cli.packageManager yarn
|
||||||
ng build --configuration production
|
ng build --configuration production
|
||||||
workingDirectory: 'Frontend'
|
workingDirectory: 'Frontend'
|
||||||
displayName: 'npm install and build'
|
displayName: 'npm install and build'
|
||||||
|
|||||||
Reference in New Issue
Block a user