build(windows): use node-gyp-v10.0.1

This commit is contained in:
Baptiste Augrain 2024-02-26 15:32:09 +01:00
parent c25403efaa
commit 3c21a8ca23

View File

@ -93,8 +93,7 @@ else
git config --global user.email "$( echo "${GITHUB_USERNAME}" | awk '{print tolower($0)}' )-ci@not-real.com"
git config --global user.name "${GITHUB_USERNAME} CI"
git clone https://github.com/nodejs/node-gyp.git .
git checkout v9.4.0
git am --3way --whitespace=fix ../../build/npm/gyp/patches/gyp_spectre_mitigation_support.patch
git checkout v10.0.1
npm install
npm_config_node_gyp="$( pwd )/bin/node-gyp.js"