File tree 2 files changed +16
-17
lines changed
2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,24 @@ name: Node CI
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main]
8
8
9
9
jobs :
10
10
build :
11
-
12
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-22.04
13
12
14
13
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 6
6
7
7
jobs :
8
8
publish-npm :
9
- runs-on : ubuntu-latest
9
+ runs-on : ubuntu-22.04
10
10
steps :
11
11
- uses : actions/checkout@v3
12
12
- uses : actions/setup-node@v3
You can’t perform that action at this time.
0 commit comments