File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 runs-on : ${{ matrix.os }}
1717
1818 steps :
19-
20- - name : Install python
21- uses : actions/setup-python@v5
2219 - name : Checkout code
2320 uses : actions/checkout@v4
2421
@@ -27,10 +24,29 @@ jobs:
2724 with :
2825 node-version : ${{ matrix.node }}
2926
30- - name : Set up Python
31- uses : actions/setup-python@v5
32- with :
33- python-version : ' 3.10'
27+ # - name: Set up Python
28+ # uses: actions/setup-python@v5
29+ # with:
30+ # python-version: '3.10'
31+
32+ # - name: Pin node-gyp 10 on Windows
33+ # if: startsWith(matrix.os, 'windows')
34+ # run: |
35+ # npm i -g node-gyp@10
36+ # # Tell npm/node-pre-gyp consumers to use this node-gyp
37+ # setx npm_config_node_gyp "%APPDATA%\npm\node_modules\node-gyp\bin\node-gyp.js"
38+
39+ # - name: Force VS toolchain discovery (skip PowerShell)
40+ # if: startsWith(matrix.os, 'windows')
41+ # shell: pwsh
42+ # run: |
43+ # # Adjust this path if your runner uses Community or BuildTools
44+ # $vsPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
45+ # echo "GYP_MSVS_VERSION=2022" | Out-File -FilePath $env:GITHUB_ENV -Append
46+ # echo "GYP_MSVS_OVERRIDE_PATH=$vsPath" | Out-File -FilePath $env:GITHUB_ENV -Append
47+ # echo "npm_config_msvs_version=2022" | Out-File -FilePath $env:GITHUB_ENV -Append
48+ # echo "npm_config_python=$((Get-Command python).Path)" | Out-File -FilePath $env:GITHUB_ENV -Append
49+
3450
3551 - name : Install Dependencies
3652 run : npm ci
You can’t perform that action at this time.
0 commit comments