File tree Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
on : [push, pull_request]
3
3
jobs :
4
- build :
4
+ test :
5
5
runs-on : ubuntu-latest
6
6
strategy :
7
7
matrix :
8
- node-version : [14.x, 16.x, 18.x]
8
+ node-version : [16.x, 18.x]
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Use Node.js ${{ matrix.node-version }}
12
+ uses : actions/setup-node@v3
13
+ with :
14
+ node-version : ${{ matrix.node-version }}
15
+ - run : npm install
16
+ - run : npm test
17
+
18
+ build :
19
+ runs-on : ubuntu-latest
9
20
steps :
10
- - uses : actions/checkout@v2
11
- - name : Use Node.js ${{ matrix.node-version }}
12
- uses : actions/setup-node@v3
13
- with :
14
- node-version : ${{ matrix.node-version }}
15
- - run : npm install
16
- - run : npm test
17
- env :
18
- CI : true
21
+ - uses : actions/checkout@v2
22
+ - name : Use Node.js 18.x
23
+ uses : actions/setup-node@v3
24
+ with :
25
+ node-version : 18.x
26
+ - run : npm install
27
+ - run : npm run compile
You can’t perform that action at this time.
0 commit comments