@@ -3,13 +3,12 @@ name: Node.js CI
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build :
6
+ lint :
7
7
runs-on : ubuntu-latest
8
8
9
9
strategy :
10
10
matrix :
11
- # node-version: [16.x, 18.x, 20.x]
12
- node-version : [16.x]
11
+ node-version : [18.x]
13
12
14
13
steps :
15
14
- uses : actions/checkout@v3
@@ -19,18 +18,14 @@ jobs:
19
18
node-version : ${{ matrix.node-version }}
20
19
cache : npm
21
20
- run : npm ci
22
- - run : npm run build:lib
23
- - run : npm run build:demo
24
- - run : npm run build:dist
25
- - run : npm run build:standalone
21
+ - run : npm run lint
26
22
27
- lint :
23
+ test :
28
24
runs-on : ubuntu-latest
29
25
30
26
strategy :
31
27
matrix :
32
- # node-version: [16.x, 18.x, 20.x]
33
- node-version : [16.x]
28
+ node-version : [18.x]
34
29
35
30
steps :
36
31
- uses : actions/checkout@v3
@@ -40,15 +35,14 @@ jobs:
40
35
node-version : ${{ matrix.node-version }}
41
36
cache : npm
42
37
- run : npm ci
43
- - run : npm run lint
38
+ - run : npm run test:coverage
44
39
45
- test :
40
+ build :
46
41
runs-on : ubuntu-latest
47
42
48
43
strategy :
49
44
matrix :
50
- # node-version: [16.x, 18.x, 20.x]
51
- node-version : [16.x]
45
+ node-version : [16.x, 18.x, 20.x]
52
46
53
47
steps :
54
48
- uses : actions/checkout@v3
58
52
node-version : ${{ matrix.node-version }}
59
53
cache : npm
60
54
- run : npm ci
61
- - run : npm run test:coverage
55
+ - run : npm run build:lib
56
+ - run : npm run build:demo
57
+ - run : npm run build:dist
58
+ - run : npm run build:standalone
0 commit comments