Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
2023-06-22 11:47:29 +00:00
parent 3eadc9b5bb
commit 6fecc9bcd4

View File

@@ -43,11 +43,13 @@ steps:
# Start: Build Frontend
- task: NodeTool@0
inputs:
versionSpec: '14.x'
versionSpec: '18.x'
displayName: 'Install Node.js'
- script: |
npm install -g @angular/cli
npm install
npm install -g yarn
yarn install
ng config --global cli.packageManager yarn
ng build --configuration production
workingDirectory: 'Frontend'
displayName: 'npm install and build'