File tree 2 files changed +22
-6
lines changed
2 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 8
8
CI : true
9
9
10
10
jobs :
11
+ lint :
12
+ name : ' Lint'
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+ - name : Setup Node.js 14
18
+ uses : actions/setup-node@v2
19
+ with :
20
+ node-version : 14
21
+ - name : Install
22
+ run : yarn install
23
+ - name : Lint
24
+ run : yarn lint
25
+ - name : Lint docs
26
+ run : yarn lint:docs
11
27
test :
12
- name : ' Test on Node.js ${{ matrix.node }} OS: ${{matrix.os}}'
28
+ name : ' Test for ESLint ${{ matrix.eslint }} on Node.js ${{ matrix.node }} OS: ${{matrix.os}}'
13
29
runs-on : ${{ matrix.os }}
14
30
strategy :
15
31
matrix :
16
32
os : [ubuntu-latest]
17
33
node : [12, 14, 16]
34
+ eslint : [7, ^8.0.0-0]
18
35
steps :
19
36
- name : Checkout
20
37
uses : actions/checkout@v2
24
41
node-version : ${{ matrix.node }}
25
42
- name : Install
26
43
run : yarn install
27
- - name : Lint
28
- run : yarn lint
29
- - name : Lint docs
30
- run : yarn lint:docs
44
+ - name : Install ESLint ${{ matrix.eslint }}
45
+ run : yarn add -D eslint@${{ matrix.eslint }}
46
+ if : matrix.eslint != 7
31
47
- name : Test
32
48
run : yarn test
33
49
- name : Integration Test
Original file line number Diff line number Diff line change 28
28
"svelte-eslint-parser" : " ^0.4.1"
29
29
},
30
30
"peerDependencies" : {
31
- "eslint" : " ^7.0.0" ,
31
+ "eslint" : " ^7.0.0 || ^8.0.0-0 " ,
32
32
"svelte" : " ^3.37.0"
33
33
},
34
34
"peerDependenciesMeta" : {
You can’t perform that action at this time.
0 commit comments