8
8
prebuild-node :
9
9
strategy :
10
10
matrix :
11
- os : [ ubuntu-latest, windows-latest , macos-latest ]
11
+ os : [ ubuntu-latest, windows-2016 , macos-latest ]
12
12
node : [ 14]
13
13
task : [ prebuild ]
14
14
runtime : [ node ]
21
21
uses : actions/setup-node@v2
22
22
with :
23
23
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
30
27
- name : Install
31
28
run : npm ci --unsafe-perm
32
29
- name : Publish prebuild
@@ -36,11 +33,11 @@ jobs:
36
33
prebuild-electron :
37
34
strategy :
38
35
matrix :
39
- os : [ ubuntu-latest, windows-latest , macos-latest ]
36
+ os : [ ubuntu-latest, windows-2016 , macos-latest ]
40
37
node : [ 14 ]
41
38
task : [ prebuild ]
42
39
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" ]
44
41
runs-on : ${{matrix.os}}
45
42
steps :
46
43
- name : Set up Git repository
49
46
uses : actions/setup-node@v2
50
47
with :
51
48
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
58
52
- name : Install
59
53
run : npm ci --unsafe-perm
60
54
- name : Publish prebuild
0 commit comments