Fix type GulpESLintOptions
for ESLint v9 compatibility
#466
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: | |
push: | |
branches: '**' | |
tags-ignore: '**' | |
pull_request: | |
branches: '**' | |
jobs: | |
lint: | |
name: lint & ts-test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: | | |
npm ci | |
npm run lint | |
npm run ts-test | |
test-eslint-8-only: | |
name: test (Node.js ${{ matrix.node-version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['12', '14', '16'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: | | |
npm ci | |
npm install eslint@8 | |
npm test | |
test: | |
name: test (Node.js ${{ matrix.node-version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['18', '20', '22'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: | | |
npm ci | |
npm test |