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