Skip to content

add support for eslint-9 #68

add support for eslint-9

add support for eslint-9 #68

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
pull_request: {}
concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 16
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
test:
name: "test with eslint ${{ matrix.eslint-version}} on node v${{ matrix.node-version }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
eslint-version:
- 7
- 8
- 9
node-version:
- 14
- 16
- 18
- 20
exclude:

Check failure on line 44 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yaml (Line: 44, Col: 7): Unexpected value 'exclude'
# eslint@9 requires node 18+
- eslint-version: 9
node-version: 14
- eslint-version: 9
node-version: 16
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm i --frozen-lockfile
- run: pnpm i eslint@${{ matrix.eslint-version }}
- run: pnpm test