Skip to content

Commit

Permalink
feat: support ESLint 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Oct 27, 2021
1 parent 4855096 commit 6d6d4cf
Show file tree
Hide file tree
Showing 17 changed files with 740 additions and 717 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ jobs:
main:
strategy:
matrix:
node: [10.12, 10, 12.0, 12, 14, 15]
eslint: [7, 8]
node: [10.12, 10, 12.0, 12, 14, 16]
exclude:
- eslint: 8
node: 10
- eslint: 8
node: 10.12
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.8.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
uses: styfle/cancel-workflow-action@0.9.0

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

- name: 📥 Download deps
- name: 📥 Download dependencies
uses: bahmutov/npm-install@v1
with:
useLockFile: false

- name: 📥 Install ESLint v${{ matrix.eslint }}
run: npm install eslint@${{ matrix.eslint }}

- name: ▶️ Run test script
run: npm run test -- --runInBand
Loading

0 comments on commit 6d6d4cf

Please sign in to comment.