Skip to content

Commit 6d6d4cf

Browse files
committed
feat: support ESLint 8.x
1 parent 4855096 commit 6d6d4cf

17 files changed

+740
-717
lines changed

.github/workflows/CI.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ jobs:
66
main:
77
strategy:
88
matrix:
9-
node: [10.12, 10, 12.0, 12, 14, 15]
9+
eslint: [7, 8]
10+
node: [10.12, 10, 12.0, 12, 14, 16]
11+
exclude:
12+
- eslint: 8
13+
node: 10
14+
- eslint: 8
15+
node: 10.12
1016
runs-on: ubuntu-latest
1117
steps:
1218
- name: 🛑 Cancel Previous Runs
13-
uses: styfle/[email protected]
14-
with:
15-
access_token: ${{ secrets.GITHUB_TOKEN }}
19+
uses: styfle/[email protected]
1620

1721
- name: ⬇️ Checkout repo
1822
uses: actions/checkout@v2
@@ -22,10 +26,13 @@ jobs:
2226
with:
2327
node-version: ${{ matrix.node }}
2428

25-
- name: 📥 Download deps
29+
- name: 📥 Download dependencies
2630
uses: bahmutov/npm-install@v1
2731
with:
2832
useLockFile: false
2933

34+
- name: 📥 Install ESLint v${{ matrix.eslint }}
35+
run: npm install eslint@${{ matrix.eslint }}
36+
3037
- name: ▶️ Run test script
3138
run: npm run test -- --runInBand

0 commit comments

Comments
 (0)