From be86b42274cf6e7e985cf1e04e1fee68d5e1a5d1 Mon Sep 17 00:00:00 2001 From: Ahmed Elhanafy Date: Thu, 18 Oct 2018 02:09:05 +0200 Subject: [PATCH] Set up CI with Azure Pipelines (#19) --- azure-pipelines.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..e914147 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,18 @@ +# Node.js with React +# Build a Node.js project that uses React. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript + +pool: + vmImage: 'Ubuntu 16.04' + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '8.x' + displayName: 'Install Node.js' + +- script: | + npm install + npm test + displayName: 'npm install and build'