From f105bccfc68eaf7fa6797beb3bd1db160f67da4f Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 31 May 2020 00:59:20 +0800 Subject: Update CI . --- azure-pipelines.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'azure-pipelines.yml') 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: -- cgit v1.2.3