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 11name : Node CI
22
33on :
4+ push :
5+ branches :
6+ - main
47 pull_request :
58 branches :
6- - main
9+ - main
10+
711jobs :
812 build :
913 runs-on : ${{ matrix.os }}
@@ -14,15 +18,15 @@ jobs:
1418 os : [ubuntu-latest, windows-latest, macos-latest]
1519
1620 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