Skip to content

Commit bc8a70b

Browse files
committed
azure pipelines angular build update
1 parent c274319 commit bc8a70b

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

build/templates/dotnet-build-job-template.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,25 @@ jobs:
4444
displayName: 'GitVersion Execute'
4545
inputs:
4646
updateAssemblyInfo: true
47+
48+
- task: NodeTool@0
49+
inputs:
50+
versionSpec: '16.x'
51+
displayName: 'Install Node.js 16.x'
52+
53+
- script: |
54+
node -v
55+
displayName: 'Print current node version'
56+
57+
- script: |
58+
npm -v
59+
displayName: 'Print current npm version'
4760
4861
- task: Npm@1
4962
displayName: 'Install Angular CLI'
5063
inputs:
5164
command: 'custom'
52-
customCommand: 'install -g @angular/cli@13.3.4'
65+
customCommand: 'install -g @angular/cli@15.2.2'
5366

5467
- script: |
5568
npm ci
@@ -58,7 +71,7 @@ jobs:
5871
5972
- script: |
6073
ng build
61-
displayName: 'Build Angular Prod'
74+
displayName: 'Angular build
6275
workingDirectory: '${{ parameters.frontEndProjectPath }}'
6376
6477
- task: DotNetCoreCLI@2

0 commit comments

Comments
 (0)