Skip to content

Commit 9b632f9

Browse files
committed
(#147) Upgrade Angular 14.0
1 parent e3a8941 commit 9b632f9

File tree

20 files changed

+3464
-3976
lines changed

20 files changed

+3464
-3976
lines changed

.github/workflows/build-ui-angular.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: actions/setup-node@v2
1919
with:
20-
node-version: "12"
20+
node-version: "14"
2121
- run: npm install -g @angular/cli
2222
- run: npm install
2323
working-directory: ./src/UIs/angular/
2424
- run: npm audit --audit-level=high
2525
working-directory: ./src/UIs/angular/
26-
- run: ng build --prod
26+
- run: ng build
2727
working-directory: ./src/UIs/angular/
2828
- name: Upload Angular
2929
uses: actions/[email protected]

src/UIs/angular/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pipeline {
2323
stage('Build') {
2424
steps {
2525
dir('src/UIs/angular') {
26-
sh 'ng build --prod'
26+
sh 'ng build'
2727
}
2828
}
2929
}

src/UIs/angular/angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
}
115115
}
116116
},
117-
"defaultProject": "angular",
118117
"cli": {
119118
"analytics": false
120119
}

src/UIs/angular/azure-pipelines.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ stages:
2121
steps:
2222
- checkout: self
2323
- task: NodeTool@0
24-
displayName: Use Node 12.x
24+
displayName: Use Node 14.x
2525
inputs:
26-
versionSpec: 12.x
26+
versionSpec: 14.x
2727
checkLatest: true
2828
- task: Npm@1
2929
displayName: install @angular/cli
@@ -42,11 +42,11 @@ stages:
4242
workingDir: 'src/UIs/angular'
4343
customCommand: 'audit --audit-level=high'
4444
- task: Npm@1
45-
displayName: run build --prod
45+
displayName: run build
4646
inputs:
4747
command: custom
4848
workingDir: src/UIs/angular
49-
customCommand: run build --prod
49+
customCommand: run build
5050
- task: ArchiveFiles@2
5151
displayName: Archive
5252
inputs:

0 commit comments

Comments
 (0)