File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- name : ' Merge to master'
1
+ name : " Merge to master"
2
2
3
3
on :
4
4
push :
10
10
11
11
strategy :
12
12
matrix :
13
- node-version : [14 .x]
13
+ node-version : [20 .x]
14
14
15
15
steps :
16
16
- name : Get branch name (merge)
Original file line number Diff line number Diff line change 1
- name : ' Pull Request'
1
+ name : " Pull Request"
2
2
on :
3
3
pull_request :
4
4
types : [opened, reopened, synchronize]
8
8
runs-on : ubuntu-latest
9
9
strategy :
10
10
matrix :
11
- node : [14, 16, 18 ]
11
+ node : [18, 20, 22 ]
12
12
name : Node ${{ matrix.node }}
13
13
steps :
14
- - name : ' Checkout latest code'
14
+ - name : " Checkout latest code"
15
15
uses : actions/checkout@v3
16
16
with :
17
17
ref : ${{ github.event.pull_request.head.sha }}
25
25
run : npm run test
26
26
27
27
lint :
28
- name : ' ESLint'
28
+ name : " ESLint"
29
29
runs-on : ubuntu-latest
30
30
steps :
31
31
- name : Checkout latest code
35
35
- name : Set up node
36
36
uses : actions/setup-node@v3
37
37
with :
38
- node-version : ' 16 '
38
+ node-version : " 20 "
39
39
- name : Install dependencies
40
40
run : npm install
41
41
- name : Run ESLint
You can’t perform that action at this time.
0 commit comments