From e44916ab4360e5b1b11f6a4b67225c13ca2d0653 Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Fri, 8 Jan 2021 14:28:50 -0500 Subject: [PATCH] Set up CI with Azure Pipelines1.2 [skip ci] --- 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 00000000..b07ced4c --- /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: +- main + +pool: + vmImage: 'ubuntu-latest' + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '10.x' + displayName: 'Install Node.js' + +- script: | + npm install -g @angular/cli + npm install + ng build --prod + displayName: 'npm install and build'