diff options
author | crupest <crupest@outlook.com> | 2020-05-31 00:59:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-05-31 00:59:20 +0800 |
commit | b1717513fed02ed530b87731b6d9aeeafe734829 (patch) | |
tree | ad5856d4fa9074bc1cf80f482e76af446592f1c0 | |
parent | c8d71a3b5e7aef4fcf75bad44b7be90b45aaaf0b (diff) | |
download | timeline-b1717513fed02ed530b87731b6d9aeeafe734829.tar.gz timeline-b1717513fed02ed530b87731b6d9aeeafe734829.tar.bz2 timeline-b1717513fed02ed530b87731b6d9aeeafe734829.zip |
Update CI .
-rw-r--r-- | azure-pipelines.yml | 21 |
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:
|