aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-05-31 00:59:20 +0800
committercrupest <crupest@outlook.com>2020-05-31 00:59:20 +0800
commitb1717513fed02ed530b87731b6d9aeeafe734829 (patch)
treead5856d4fa9074bc1cf80f482e76af446592f1c0
parentc8d71a3b5e7aef4fcf75bad44b7be90b45aaaf0b (diff)
downloadtimeline-b1717513fed02ed530b87731b6d9aeeafe734829.tar.gz
timeline-b1717513fed02ed530b87731b6d9aeeafe734829.tar.bz2
timeline-b1717513fed02ed530b87731b6d9aeeafe734829.zip
Update CI .
-rw-r--r--azure-pipelines.yml21
1 files changed, 19 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 299e49dc..2231f532 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -7,8 +7,25 @@ stages:
displayName: Routine Build and Test
jobs:
- - job: build
- displayName: Build Debug and Test
+ - job: frontend_build
+ displayName: Frontend Build
+ pool:
+ vmImage: 'ubuntu-18.04'
+
+ steps:
+ - script: yarn
+ workingDirectory: Timeline/ClientApp
+ displayName: Restore Packages
+
+ - script: yarn build
+ workingDirectory: Timeline/ClientApp
+ displayName: Webpack Build
+
+ - publish: Timeline/ClientApp/dist
+ artifact: timeline-frontend
+
+ - job: backend_build
+ displayName: Backend Build Debug and Test
pool:
vmImage: 'ubuntu-18.04'
variables: