From 9fbd6c3e5d30b7d0618b3f669935bb9cc9690327 Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Tue, 14 Apr 2020 22:34:20 +0200 Subject: [PATCH] Manually install `node-gyp` on Windows --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5ead1fc63..0db9fc148 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -61,7 +61,7 @@ jobs: - job: package_windows displayName: "Build Windows packages" pool: - vmImage: 'windows-2019' + vmImage: 'vs2017-win2016' steps: - script: choco install nsis -y displayName: "install nsis" @@ -70,6 +70,7 @@ jobs: - task: NodeTool@0 inputs: versionSpec: '10.11.0' + - script: yarn global add node-gyp - script: yarn install --frozen-lockfile displayName: "yarn install" - script: node build_scripts/azure_release_version_check.js $(Build.SourceBranch)