56
56
strategy :
57
57
matrix :
58
58
os_and_node :
59
- - { os: "ubuntu-latest", node: "18" }
60
- - { os: "macos-latest", node: "18" }
61
- - { os: "windows-2019", node: "14 " }
59
+ # - { os: "ubuntu-latest", node: "18" }
60
+ # - { os: "macos-latest", node: "18" }
61
+ - { os: "windows-2019", node: "18 " }
62
62
fail-fast : false
63
63
name : Prebuild on ${{ matrix.os_and_node.os }}
64
64
runs-on : ${{ matrix.os_and_node.os }}
@@ -70,25 +70,13 @@ jobs:
70
70
- uses : actions/setup-node@v3
71
71
with :
72
72
node-version : ${{ matrix.os_and_node.node }}
73
- - name : Update node-gyp
74
- if : ${{ matrix.os_and_node.os == 'windows-2019' }}
75
- run : |
76
- $WhereNode = Get-Command node | Select-Object -ExpandProperty Definition
77
- $NodeDirPath = Split-Path $WhereNode -Parent
78
- $NodeModulesPath = $NodeDirPath + "\node_modules\npm\node_modules\npm-lifecycle"
79
- cd $NodeModulesPath
80
- npm install node-gyp@latest
81
- npm config set msvs_version 2017
82
- npm config set msvs-version 2017
83
- npm config set msvs_version 2017 --global
84
- npm config set msvs-version 2017 --global
85
73
- run : npm install --ignore-scripts
86
- - run : npx --no-install prebuild -r node -t 10.0.0 -t 12.0.0 -t 14.0.0 -t 16.0.0 -t 18.0.0
87
- - run : npx --no-install prebuild -r electron -t 21.0.0 -t 22.0.0 -t 23.0.0
88
- - if : matrix.os_and_node.os == 'windows-2019'
89
- run : npx --no-install prebuild -r electron -t 21.0.0 -t 22.0.0 -t 23.0.0 --arch ia32
74
+ - run : npx --no-install prebuild -r node -t 14.0.0 -t 16.0.0 -t 18.0.0 -t 20.0.0
75
+ - run : npx --no-install prebuild -r electron -t 22.0.0 -t 23.0.0 -t 24.0.0
90
76
- if : matrix.os_and_node.os == 'macos-latest'
91
- run : npx --no-install prebuild -r electron -t 21.0.0 -t 22.0.0 -t 23.0.0 --arch arm64
77
+ run :
78
+ npx --no-install prebuild -r node -t 14.0.0 -t 16.0.0 -t 18.0.0 -t 20.0.0 --arch arm64
79
+ npx --no-install prebuild -r electron -t 22.0.0 -t 23.0.0 -t 24.0.0 --arch arm64
92
80
93
81
publish :
94
82
if : ${{ github.event_name == 'release' }}
0 commit comments