Fix node-gyp not found error (#189942)

This commit is contained in:
Raymond Zhao 2023-08-08 13:42:53 -07:00 committed by GitHub
parent 66f62899b8
commit 2159f75d4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ steps:
echo "Yarn failed $i, trying again..."
done
cd node_modules/native-keymap && node-gyp rebuild --debug
cd node_modules/native-keymap && npx node-gyp@9.4.0 -y rebuild --debug
cd ../.. && ./.github/workflows/check-clean-git-state.sh
env:
npm_config_arch: $(NPM_ARCH)