File tree 1 file changed +19
-20
lines changed
1 file changed +19
-20
lines changed Original file line number Diff line number Diff line change 4
4
name : Node.js CI
5
5
6
6
on :
7
- push :
8
- branches : [ "master" ]
9
- pull_request :
10
- branches : [ "master" ]
7
+ push :
8
+ branches : ["master"]
9
+ pull_request :
10
+ branches : ["master"]
11
11
12
12
jobs :
13
- build :
13
+ build :
14
+ runs-on : ubuntu-latest
14
15
15
- runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ node-version : [20.x]
19
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
16
20
17
- strategy :
18
- matrix :
19
- node-version : [18.x]
20
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
+ steps :
22
+ - uses : actions/checkout@v3
23
+ - name : Use Node.js ${{ matrix.node-version }}
24
+ uses : actions/setup-node@v3
25
+ with :
26
+ node-version : ${{ matrix.node-version }}
21
27
22
- steps :
23
- - uses : actions/checkout@v3
24
- - name : Use Node.js ${{ matrix.node-version }}
25
- uses : actions/setup-node@v3
26
- with :
27
- node-version : ${{ matrix.node-version }}
28
-
29
- - run : npm i --force
30
- - run : npm run build
31
- - run : npm test
28
+ - run : npm i --force
29
+ - run : npm run build
30
+ - run : npm test
You can’t perform that action at this time.
0 commit comments