Skip to content

Commit 160d35b

Browse files
committed
⚒ update CI matrix
1 parent e05124b commit 160d35b

File tree

1 file changed

+30
-11
lines changed

1 file changed

+30
-11
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v1
16+
uses: actions/checkout@v2
1717
- name: Install Node.js
1818
uses: actions/setup-node@v1
1919
with:
@@ -25,24 +25,43 @@ jobs:
2525

2626
test:
2727
name: Test
28-
runs-on: ubuntu-latest
2928

3029
strategy:
3130
matrix:
32-
eslint: [6.x, 5.x, 4.x]
33-
node: [12.x, 10.x, 8.x]
34-
exclude:
35-
# Run ESLint 5.x only on the latest Node.
36-
- eslint: 5.x
31+
eslint: [6.x]
32+
node: [14.x]
33+
os: [ubuntu-latest]
34+
include:
35+
# On other platforms
36+
- eslint: 6.x
37+
node: 14.x
38+
os: windows-latest
39+
- eslint: 6.x
40+
node: 14.x
41+
os: macos-latest
42+
# On old Node.js versions
43+
- eslint: 6.x
44+
node: 12.x
45+
os: ubuntu-latest
46+
- eslint: 6.x
47+
node: 10.x
48+
os: ubuntu-latest
49+
- eslint: 6.x
3750
node: 8.x
51+
os: ubuntu-latest
52+
# On old ESLint versions
3853
- eslint: 5.x
39-
node: 10.x
40-
# Run ESLint 4.x only on the latest Node.
54+
node: 14.x
55+
os: ubuntu-latest
4156
- eslint: 4.x
42-
node: 8.x
57+
node: 14.x
58+
os: ubuntu-latest
59+
# On the minimum supported ESLint/Node.js version
4360
- eslint: 4.x
44-
node: 10.x
61+
node: "8.0.0"
62+
os: ubuntu-latest
4563

64+
runs-on: ${{ matrix.os }}
4665
steps:
4766
- name: Checkout
4867
uses: actions/checkout@v1

0 commit comments

Comments
 (0)