From 059e9b514fe1a72ca0e737e2550f1d75f7722801 Mon Sep 17 00:00:00 2001 From: "azure-pipelines[bot]" Date: Mon, 11 Feb 2019 21:07:18 +0000 Subject: [PATCH] Set up CI with Azure Pipelines --- azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..346e826 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,22 @@ +# Node.js with Angular +# Build a Node.js project that uses Angular. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript + +trigger: +- master + +pool: + vmImage: 'Ubuntu-16.04' + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '8.x' + displayName: 'Install Node.js' + +- script: | + npm install -g @angular/cli + npm install + ng build --prod + displayName: 'npm install and build'