|
7 | 7 |
|
8 | 8 | jobs:
|
9 | 9 | 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 }}' |
11 | 11 | runs-on: ubuntu-latest
|
12 | 12 | strategy:
|
13 | 13 | 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] |
16 | 16 | test-graphql: [true, false]
|
17 | 17 |
|
18 | 18 | 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 |
31 | 38 | - test-graphql: true
|
32 |
| - node-version: 10.x |
| 39 | + node-version: 10 |
33 | 40 | - test-graphql: true
|
34 |
| - node-version: 8.x |
| 41 | + node-version: 8 |
35 | 42 | - test-graphql: true
|
36 |
| - node-version: 6.x |
| 43 | + node-version: 6 |
37 | 44 |
|
38 | 45 | steps:
|
39 | 46 | - uses: actions/checkout@v2
|
|
0 commit comments