Browse Source

wip: update node_gyp path [skip ci]

Baptiste Augrain 1 year ago
parent
commit
5e143f4297
2 changed files with 2 additions and 7 deletions
  1. 0 5
      .github/workflows/stable-windows.yml
  2. 2 2
      prepare_vscode.sh

+ 0 - 5
.github/workflows/stable-windows.yml

@@ -61,11 +61,6 @@ jobs:
       - name: Install Yarn
         run: npm install -g yarn
 
-      - name: Setup Python 2
-        uses: actions/setup-python@v4
-        with:
-          python-version: '2.x'
-
       - name: Setup Python 3
         uses: actions/setup-python@v4
         with:

+ 2 - 2
prepare_vscode.sh

@@ -81,7 +81,7 @@ else
     git am --3way --whitespace=fix ../../build/npm/gyp/patches/gyp_spectre_mitigation_support.patch
     npm install
 
-    npm_config_node_gyp=$( pwd )
+    npm_config_node_gyp="$( pwd )/bin/node-gyp.js"
     export npm_config_node_gyp
 
     cd ../..
@@ -91,7 +91,7 @@ else
     export npm_config_arm_version=7
   fi
 
-  CHILD_CONCURRENCY=1 yarn --frozen-lockfile --network-timeout 180000
+  CHILD_CONCURRENCY=1 yarn --frozen-lockfile --check-files --network-timeout 180000
 fi
 
 setpath() {