Skip to content

ci: Revert eslint upgrade (#114) #132

ci: Revert eslint upgrade (#114)

ci: Revert eslint upgrade (#114) #132

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
check-lint:
name: Lint
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
test:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14', '15', '16', '17', '18', '20', '22' ]
timeout-minutes: 30
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERAGE_OPTION: ./node_modules/.bin/nyc
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm run coverage
- run: bash <(curl -s https://codecov.io/bash)