From f9bf0c4c3bec5c79822bad54e0ea0b21d1158e2f Mon Sep 17 00:00:00 2001 From: Ken Date: Mon, 25 Feb 2019 21:51:14 -0800 Subject: [PATCH] make a new pr pipeline build --- azure-pipelines.pr.yml | 20 ++++++++++++++++++++ azure-pipelines.yml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 azure-pipelines.pr.yml diff --git a/azure-pipelines.pr.yml b/azure-pipelines.pr.yml new file mode 100644 index 0000000..625c73e --- /dev/null +++ b/azure-pipelines.pr.yml @@ -0,0 +1,20 @@ +# Node.js +# Build a general Node.js project with npm. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript + +trigger: none + +pool: + vmImage: 'Ubuntu-16.04' + +steps: + - task: NodeTool@0 + inputs: + versionSpec: '10.x'wan + displayName: 'Install Node.js' + + - script: | + npm install + npm run build + displayName: 'npm install, build' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d7a7af6..15afd44 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,7 +14,7 @@ pool: steps: - task: NodeTool@0 inputs: - versionSpec: '10.x' + versionSpec: '10.x'wan displayName: 'Install Node.js' - script: |