@@ -2,15 +2,19 @@ on: [push, pull_request]
2
2
3
3
name : CI
4
4
5
+ defaults :
6
+ run :
7
+ shell : bash
8
+
5
9
jobs :
6
10
test-posix :
7
11
name : Unix tests
8
12
strategy :
9
13
fail-fast : false
10
14
matrix :
11
15
os : [ubuntu-latest, macos-latest]
12
- node-version : [12.18.4, 12. x, 14 .x, 16 .x]
13
- runs-on : ${{matrix.os}}
16
+ node-version : [14. x, 16 .x, 18 .x]
17
+ runs-on : ${{ matrix.os }}
14
18
steps :
15
19
- uses : actions/checkout@v2
16
20
- name : Use Node.js ${{ matrix.node-version }}
19
23
check-latest : true
20
24
node-version : ${{ matrix.node-version }}
21
25
26
+ if : ${{ matrix.node-version == '14.x' }}
22
27
run :
npm install -g [email protected]
23
28
- name : Install Dependencies
24
29
run : npm install
@@ -30,19 +35,26 @@ jobs:
30
35
strategy :
31
36
fail-fast : false
32
37
matrix :
33
- node-version : [12.18.4, 12. x, 14 .x, 16 .x]
38
+ node-version : [14. x, 16 .x, 18 .x]
34
39
shard : [1, 2, 3]
35
40
runs-on : windows-latest
36
41
steps :
37
42
- uses : actions/checkout@v2
43
+ - name : Install python
44
+ uses : actions/setup-python@v2
45
+ with :
46
+ python-version : ' 3.x'
38
47
- name : Install Node.js build deps
39
48
run : choco install nasm
49
+ - name : Install developer command prompt
50
+ uses : ilammy/msvc-dev-cmd@v1
40
51
- name : Use Node.js ${{ matrix.node-version }}
41
52
uses : actions/setup-node@v2
42
53
with :
43
54
check-latest : true
44
55
node-version : ${{ matrix.node-version }}
45
56
57
+ if : ${{ matrix.node-version == '14.x' }}
46
58
run :
npm install -g [email protected]
47
59
- name : Install Dependencies
48
60
run : npm install
0 commit comments