File tree 2 files changed +35
-7
lines changed
2 files changed +35
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Linter
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches :
6
+ - " master"
7
+ - " v7.0.0"
8
+ paths :
9
+ - " lib/**"
10
+ - " test/**"
11
+ - " .github/workflows/linter.yml"
12
+ pull_request :
13
+ paths :
14
+ - " lib/**"
15
+ - " test/**"
16
+ - " .github/workflows/linter.yml"
4
17
5
18
permissions :
6
19
contents : read
13
26
- name : Use Node.js 14.x
14
27
uses : actions/setup-node@v3
15
28
with :
16
- node-version : ' 14.x'
29
+ node-version : " 14.x"
17
30
- name : Install Dependencies
18
31
run : npm install
19
32
- name : Lint
Original file line number Diff line number Diff line change 1
1
name : Tester
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches :
6
+ - " master"
7
+ - " v7.0.0"
8
+ paths :
9
+ - " lib/**"
10
+ - " test/**"
11
+ - " package.json"
12
+ - " .github/workflows/tester.yml"
13
+ pull_request :
14
+ paths :
15
+ - " lib/**"
16
+ - " test/**"
17
+ - " package.json"
18
+ - " .github/workflows/tester.yml"
4
19
5
20
permissions :
6
21
contents : read
11
26
strategy :
12
27
matrix :
13
28
os : [ubuntu-latest, windows-latest, macos-latest]
14
- node-version : [' 14.x', ' 16.x', ' 18.x' ]
29
+ node-version : [" 14.x", " 16.x", " 18.x" ]
15
30
fail-fast : false
16
31
steps :
17
32
- uses : actions/checkout@v3
@@ -27,13 +42,13 @@ jobs:
27
42
CI : true
28
43
coverage :
29
44
permissions :
30
- checks : write # for coverallsapp/github-action to create new checks
31
- contents : read # for actions/checkout to fetch code
45
+ checks : write # for coverallsapp/github-action to create new checks
46
+ contents : read # for actions/checkout to fetch code
32
47
runs-on : ${{ matrix.os }}
33
48
strategy :
34
49
matrix :
35
50
os : [ubuntu-latest]
36
- node-version : [' 14.x' ]
51
+ node-version : [" 14.x" ]
37
52
steps :
38
53
- uses : actions/checkout@v3
39
54
- name : Use Node.js ${{ matrix.node-version }}
You can’t perform that action at this time.
0 commit comments