diff options
-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:
|