Skip to content

Commit e5af184

Browse files
committed
chore(CI): add tests for ESLint 8
1 parent 402a0b8 commit e5af184

File tree

3 files changed

+607
-346
lines changed

3 files changed

+607
-346
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,40 @@ on:
77

88
jobs:
99
ci:
10-
name: 'Test: Node ${{ matrix.node-version }} - ESLint ${{ matrix.eslint-version }}'
10+
name: 'Test: Node ${{ matrix.node-version }} - ESLint ${{ matrix.eslint-version }} - GraphQL ${{ matrix.test-graphql }}'
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
eslint-version: [7.x, 6.x, 5.x]
15-
node-version: [16.x, 14.x, 12.x, 10.x, 8.x, 6.x]
14+
eslint-version: ['^8.0.0-0', 7, 6, 5]
15+
node-version: [16, 14, 12, 10, 8, 6]
1616
test-graphql: [true, false]
1717

1818
exclude:
19-
# eslint 7 does not support node 6 or 8
20-
- eslint-version: 7.x
21-
node-version: 8.x
22-
- eslint-version: 7.x
23-
node-version: 6.x
24-
# eslint 6 does not support node 6
25-
# the version of chalk used in eslint 6 does not support node 8
26-
- eslint-version: 6.x
27-
node-version: 8.x
28-
- eslint-version: 6.x
29-
node-version: 6.x
30-
# @graphql-eslint/eslint-plugin does not support node 6 or 8 or 10
19+
# ESLint 8 does not support node 6, 8 or 10
20+
- eslint-version: '^8.0.0-0'
21+
node-version: 10
22+
- eslint-version: '^8.0.0-0'
23+
node-version: 8
24+
- eslint-version: '^8.0.0-0'
25+
node-version: 6
26+
# ESLint 7 does not support node 6 or 8
27+
- eslint-version: 7
28+
node-version: 8
29+
- eslint-version: 7
30+
node-version: 6
31+
# ESLint 6 does not support node 6
32+
# the version of chalk used in ESLint 6 does not support node 8
33+
- eslint-version: 6
34+
node-version: 8
35+
- eslint-version: 6
36+
node-version: 6
37+
# @graphql-eslint/eslint-plugin does not support node 6, 8 or 10
3138
- test-graphql: true
32-
node-version: 10.x
39+
node-version: 10
3340
- test-graphql: true
34-
node-version: 8.x
41+
node-version: 8
3542
- test-graphql: true
36-
node-version: 6.x
43+
node-version: 6
3744

3845
steps:
3946
- uses: actions/checkout@v2

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@
3636
},
3737
"devDependencies": {
3838
"@not-an-aardvark/node-release-script": "^0.1.0",
39-
"eslint": "^7.0.0",
39+
"eslint": "^8.0.0-0",
4040
"eslint-config-not-an-aardvark": "^2.1.0",
41-
"eslint-config-prettier": "^6.0.0",
42-
"eslint-plugin-eslint-plugin": "^2.0.0",
43-
"eslint-plugin-node": "^8.0.0",
44-
"eslint-plugin-self": "^1.1.0",
45-
"mocha": "^6.0.0",
46-
"prettier": "^1.15.3",
47-
"vue-eslint-parser": "^6.0.0"
41+
"eslint-config-prettier": "^6.15.0",
42+
"eslint-plugin-eslint-plugin": "^2.3.0",
43+
"eslint-plugin-node": "^8.0.1",
44+
"eslint-plugin-self": "^1.2.1",
45+
"mocha": "^6.2.3",
46+
"prettier": "^1.19.1",
47+
"vue-eslint-parser": "^6.0.5"
4848
},
4949
"peerDependenciesMeta": {
5050
"eslint-config-prettier": {

0 commit comments

Comments
 (0)