From 832c6f37d9d9bf62804f08a58e8337a59c73dae4 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 8 Feb 2020 04:14:56 +0000 Subject: [PATCH] Set up Front End CI with Azure Pipelines First run though. Just builds. Doesn't make an Artifact [skip ci] --- azure-pipelines.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..012a4ca --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,23 @@ +# 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-latest' + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '12.x' + displayName: 'Install Node.js' + +- script: | + # npm install -g @angular/cli + npm install -g @ionic/cli + npm install + ionic build --prod + displayName: 'npm install and build'