From ac8ab2c84ec8f181b62c8d888172b72a8b561168 Mon Sep 17 00:00:00 2001 From: Igor Oleinikov Date: Mon, 15 Oct 2018 22:58:46 -0700 Subject: [PATCH 1/2] Set up CI with Azure Pipelines --- azure-pipelines.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..3aa9c01 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,33 @@ +pool: + vmImage: 'Ubuntu 16.04' + +strategy: + matrix: + node_8_x: + node_version: 8.x + node_9_x: + node_version: 9.x + +steps: +- task: gittools.gitversion.gitversion-task.GitVersion@4 + displayName: GitVersion + inputs: + preferBundledVersion: false + +- task: NodeTool@0 + inputs: + versionSpec: $(node_version) + displayName: 'Use Node.js $(node_version)' + +- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2 + displayName: 'Use Yarn 1.x' + +- task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 + displayName: 'Yarn Install' + inputs: + Arguments: '--pure-lockfile' + +- task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 + displayName: Test + inputs: + Arguments: 'run test' From 4180bedf37d99c58ac061727ee877c22b7b16f38 Mon Sep 17 00:00:00 2001 From: Igor Oleinikov Date: Mon, 15 Oct 2018 23:08:27 -0700 Subject: [PATCH 2/2] Update azure-pipelines.yml --- azure-pipelines.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3aa9c01..e5a7c55 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,11 +9,6 @@ strategy: node_version: 9.x steps: -- task: gittools.gitversion.gitversion-task.GitVersion@4 - displayName: GitVersion - inputs: - preferBundledVersion: false - - task: NodeTool@0 inputs: versionSpec: $(node_version)