From eccb909de9babe5a2ed06fb58b5a73d6c1fd9d9d Mon Sep 17 00:00:00 2001 From: Emma Zhu Date: Fri, 15 Mar 2024 14:14:44 +0800 Subject: [PATCH] Bump pipeline node version to build exe to 20.x --- azure-pipelines.yml | 4 ++-- scripts/buildExe.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 92fdcc4ad..26ed48da7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -571,8 +571,8 @@ jobs: # our .exe build program is currently incompatible with node 10 # node_10_x: # node_version: 10.x - node_14_x: - node_version: 14.x + node_18_x: + node_version: 18.x steps: - task: NodeTool@0 inputs: diff --git a/scripts/buildExe.js b/scripts/buildExe.js index 134c21e49..851cf7b48 100644 --- a/scripts/buildExe.js +++ b/scripts/buildExe.js @@ -12,7 +12,7 @@ const pkgFetch = require('pkg-fetch'); build(); async function build() { - const pkgTarget = 'node20-win-x64'; + const pkgTarget = 'node18-win-x64'; const cacheExe = await downloadCache(pkgTarget); await rcedit(cacheExe, { "version-string": {