From 3abcc57b25d92168d4fc7e0f44eb3493a16be178 Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 30 May 2019 21:22:45 -0700 Subject: [PATCH] Update Azure DevOps Pipeline to run for all branches and Linux/Windows/macOS. --- azure-pipelines.yml | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6e545b05..bb093807 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,20 +1,38 @@ # Azure DevOps Pipeline for Node.js # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript -trigger: -- master - -pool: - vmImage: 'ubuntu-latest' - strategy: matrix: - node_8_x: + linux_node_8: + imageName: 'ubuntu-latest' node_version: 8.x - node_10_x: + linux_node_10: + imageName: 'ubuntu-latest' node_version: 10.x - node_12_x: + linux_node_12: + imageName: 'ubuntu-latest' node_version: 12.x + macos_node_8: + imageName: 'macos-latest' + node_version: 8.x + macos_node_10: + imageName: 'macos-latest' + node_version: 10.x + macos_node_12: + imageName: 'macos-latest' + node_version: 12.x + windows_node_8: + imageName: 'windows-latest' + node_version: 8.x + windows_node_10: + imageName: 'windows-latest' + node_version: 10.x + windows_node_12: + imageName: 'windows-latest' + node_version: 12.x + +pool: + vmImage: $(imageName) steps: - task: NodeTool@0