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 Nov 14, 2021
1 parent 5a2f0e2 commit e350854
Show file tree
Hide file tree
Showing 5 changed files with 12,655 additions and 1,169 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Expand Up @@ -13,12 +13,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [15.x]
node-version: [16]

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Expand Up @@ -13,26 +13,30 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [10.x, 12.x, 14.x, 15.x]
node: [10, 12, 14, 16]
eslint: [7, 8]

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}

- name: Cache node_modules
id: cache-node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
key: node_modules-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('package-lock.json') }}

- name: npm ci
if: steps.cache-node_modules.outputs.cache-hit != 'true'
run: npm ci

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

- name: Jest
run: npx --no-install jest

Expand Down

0 comments on commit e350854

Please sign in to comment.