File tree Expand file tree Collapse file tree 2 files changed +43
-26
lines changed Expand file tree Collapse file tree 2 files changed +43
-26
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,11 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout
16- uses : actions/checkout@v1
17- with :
18- fetch-depth : 1
16+ uses : actions/checkout@v2
1917 - name : Install Node.js
2018 uses : actions/setup-node@v1
2119 with :
22- node-version : 12
20+ node-version : 14
2321 - name : Install Packages
2422 run : npm install
2523 - name : Lint
@@ -29,23 +27,39 @@ jobs:
2927 name : Test
3028 strategy :
3129 matrix :
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
43- runs-on : ubuntu-latest
30+ os : [ubuntu-latest]
31+ eslint : [7]
32+ node : [14]
33+ include :
34+ # On other platforms
35+ - eslint : 7
36+ node : 14
37+ os : windows-latest
38+ - eslint : 7
39+ node : 14
40+ os : macos-latest
41+ # On old Node.js versions
42+ - eslint : 7
43+ node : 12
44+ os : ubuntu-latest
45+ - eslint : 7
46+ node : 10
47+ os : ubuntu-latest
48+ # On old ESLint versions
49+ - eslint : 6
50+ node : 14
51+ os : ubuntu-latest
52+ - eslint : 5
53+ node : 14
54+ os : ubuntu-latest
55+ # On the minimum supported ESLint/Node.js version
56+ - eslint : 5
57+ node : 6.14
58+ os : ubuntu-latest
59+ runs-on : ${{ matrix.os }}
4460 steps :
4561 - name : Checkout
46- uses : actions/checkout@v1
47- with :
48- fetch-depth : 1
62+ uses : actions/checkout@v2
4963 - name : Install Node.js v${{ matrix.node }}
5064 uses : actions/setup-node@v1
5165 with :
5670 npm install --global npm@^6.0.0
5771 fi
5872 npm install
59- - name : Install ESLint v ${{ matrix.eslint }}
60- run : npm install --no-save eslint@^ ${{ matrix.eslint }}.0.0
73+ - name : Install ESLint ${{ matrix.eslint }}
74+ run : npm install --no-save eslint@${{ matrix.eslint }}
6175 - name : Build
6276 run : npm run -s build
6377 - name : Test
Original file line number Diff line number Diff line change 33 "version" : " 2.0.0" ,
44 "description" : " Utilities for ESLint plugins." ,
55 "engines" : {
6- "node" : " >=6"
6+ "node" : " >=6.14 "
77 },
88 "sideEffects" : false ,
99 "main" : " index" ,
1212 " index.*"
1313 ],
1414 "dependencies" : {
15- "eslint-visitor-keys" : " ^1.1 .0"
15+ "eslint-visitor-keys" : " ^1.2 .0"
1616 },
1717 "devDependencies" : {
18- "@mysticatea/eslint-plugin" : " ^12 .0.0" ,
18+ "@mysticatea/eslint-plugin" : " ^13 .0.0" ,
1919 "codecov" : " ^3.6.1" ,
2020 "dot-prop" : " ^4.2.0" ,
21- "eslint" : " ^6.5.1 " ,
21+ "eslint" : " ^7.2.0 " ,
2222 "esm" : " ^3.2.25" ,
23- "espree" : " ^6 .1.1 " ,
23+ "espree" : " ^7 .1.0 " ,
2424 "mocha" : " ^6.2.2" ,
2525 "npm-run-all" : " ^4.1.5" ,
2626 "nyc" : " ^14.1.1" ,
3131 "vuepress" : " ^1.2.0" ,
3232 "warun" : " ^1.0.0"
3333 },
34+ "peerDependencies" : {
35+ "eslint" : " >=5"
36+ },
3437 "scripts" : {
3538 "prebuild" : " npm run -s clean" ,
3639 "build" : " rollup -c" ,
You can’t perform that action at this time.
0 commit comments