File tree 4 files changed +19
-12
lines changed 4 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
3
on :
4
- push : {branches: main}
5
- pull_request : {branches: main}
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
6
8
7
9
jobs :
8
10
ci :
9
11
runs-on : ubuntu-latest
10
12
steps :
11
13
- uses : actions/checkout@v2
12
- - uses : actions/setup-node@v1
13
- with : {node-version: 13.x}
14
- - uses : actions/cache@v1
14
+ - uses : actions/setup-node@v2
15
+ with :
16
+ node-version : 12
17
+ - uses : actions/cache@v2
15
18
with :
16
19
path : ~/.npm
17
20
key : ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
Original file line number Diff line number Diff line change 1
1
name : Integration
2
2
3
3
on :
4
- push : {branches: main}
5
- pull_request : {branches: main}
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
6
8
7
9
jobs :
8
10
test-return :
39
41
runs-on : ubuntu-latest
40
42
steps :
41
43
- uses : actions/checkout@v2
42
- - uses : actions/cache@v1
44
+ - uses : actions/cache@v2
43
45
with :
44
46
path : ~/.npm
45
47
key : ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
Original file line number Diff line number Diff line change 1
1
name : Licensed
2
2
3
3
on :
4
- push : {branches: main}
5
- pull_request : {branches: main}
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
6
8
repository_dispatch :
7
9
workflow_dispatch :
8
10
12
14
name : Check licenses
13
15
steps :
14
16
- uses : actions/checkout@v2
15
- - uses : actions/cache@v1
17
+ - uses : actions/cache@v2
16
18
with :
17
19
path : ~/.npm
18
20
key : ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Pull Request Test
2
2
3
3
on :
4
4
pull_request :
5
- branches : main
5
+ branches : [ main]
6
6
types : [opened, synchronize]
7
7
8
8
jobs :
You can’t perform that action at this time.
0 commit comments