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
commitf105bccfc68eaf7fa6797beb3bd1db160f67da4f (patch)
tree4de2dd1b4c08b10d43d6c1a0bb45291bb355ec98
parent85360e8e755b4ce7fd1bd8531d78c06a3b9ffbdf (diff)
downloadtimeline-f105bccfc68eaf7fa6797beb3bd1db160f67da4f.tar.gz
timeline-f105bccfc68eaf7fa6797beb3bd1db160f67da4f.tar.bz2
timeline-f105bccfc68eaf7fa6797beb3bd1db160f67da4f.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: