File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,30 @@ jobs:
30
30
strategy :
31
31
matrix :
32
32
node : [12, 10, 8, 6]
33
+ eslint : [6, 5]
34
+ exclude :
35
+ # ESLint 6 doesn't support Node 6.
36
+ - node : 6
37
+ eslint : 6
38
+ # Run ESLint 5 on only the newest and oldest Node.
39
+ - node : 10
40
+ eslint : 5
41
+ - node : 8
42
+ eslint : 5
33
43
runs-on : ubuntu-latest
34
44
steps :
35
45
- name : Checkout
36
46
uses : actions/checkout@v1
37
47
with :
38
48
fetch-depth : 1
39
- - name : Install Node.js ${{ matrix.node }}
49
+ - name : Install Node.js v ${{ matrix.node }}
40
50
uses : actions/setup-node@v1
41
51
with :
42
52
node-version : ${{ matrix.node }}
43
53
- name : Install Packages
44
54
run : npm install
55
+ - name : Install ESLint v${{ matrix.eslint }}
56
+ run : npm install --no-save eslint@^${{ matrix.eslint }}.0.0
45
57
- name : Build
46
58
run : npm run -s build
47
59
- name : Test
File renamed without changes.
You can’t perform that action at this time.
0 commit comments