File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,24 @@ name: Node CI
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88
99jobs :
1010 build :
11-
12- runs-on : ubuntu-latest
11+ runs-on : ubuntu-22.04
1312
1413 steps :
15- - uses : actions/checkout@v1
16- - name : Use Node.js
17- uses : actions/setup-node@v1
18- with :
19- node-version : ' 20.x'
20- - name : npm install, build, and test
21- run : |
22- npm install
23- npm run build --if-present
24- npm test
25- env :
26- CI : true
14+ - uses : actions/checkout@v1
15+ - name : Use Node.js
16+ uses : actions/setup-node@v1
17+ with :
18+ node-version : ' 20.x'
19+ - name : npm install, build, and test
20+ run : |
21+ npm install
22+ npm run build --if-present
23+ npm test
24+ env :
25+ CI : true
Original file line number Diff line number Diff line change 66
77jobs :
88 publish-npm :
9- runs-on : ubuntu-latest
9+ runs-on : ubuntu-22.04
1010 steps :
1111 - uses : actions/checkout@v3
1212 - uses : actions/setup-node@v3
You can’t perform that action at this time.
0 commit comments