88 prebuild-node :
99 strategy :
1010 matrix :
11- os : [ ubuntu-latest, windows-latest , macos-latest ]
11+ os : [ ubuntu-latest, windows-2016 , macos-latest ]
1212 node : [ 14]
1313 task : [ prebuild ]
1414 runtime : [ node ]
2121 uses : actions/setup-node@v2
2222 with :
2323 node-version : ${{matrix.node}}
24- - name : Install global node-gyp on Linux
25- if : ${{matrix.os == 'ubuntu-latest'}}
26- run : sudo npm i -g node-gyp
27- - name : Install global node-gyp on non Linux
28- if : ${{matrix.os != 'ubuntu-latest'}}
29- run : npm i -g node-gyp
24+ - name : Configure msvs version on Windows
25+ if : ${{matrix.os == 'windows-2016'}}
26+ run : npm config set msvs_version 2017
3027 - name : Install
3128 run : npm ci --unsafe-perm
3229 - name : Publish prebuild
@@ -36,11 +33,11 @@ jobs:
3633 prebuild-electron :
3734 strategy :
3835 matrix :
39- os : [ ubuntu-latest, windows-latest , macos-latest ]
36+ os : [ ubuntu-latest, windows-2016 , macos-latest ]
4037 node : [ 14 ]
4138 task : [ prebuild ]
4239 runtime : [ electron ]
43- target : [ "8.0.0", "9.0.0", "10.0.0", "11.0.0", "12.0.0" ]
40+ target : [ "8.0.0", "9.0.0", "10.0.0", "11.0.0", "12.0.0", "13.0.0" ]
4441 runs-on : ${{matrix.os}}
4542 steps :
4643 - name : Set up Git repository
4946 uses : actions/setup-node@v2
5047 with :
5148 node-version : ${{matrix.node}}
52- - name : Install global node-gyp on Linux
53- if : ${{matrix.os == 'ubuntu-latest'}}
54- run : sudo npm i -g node-gyp
55- - name : Install global node-gyp on non Linux
56- if : ${{matrix.os != 'ubuntu-latest'}}
57- run : npm i -g node-gyp
49+ - name : Configure msvs version on Windows
50+ if : ${{matrix.os == 'windows-2016'}}
51+ run : npm config set msvs_version 2017
5852 - name : Install
5953 run : npm ci --unsafe-perm
6054 - name : Publish prebuild
0 commit comments