[skip netlify]: Bump eslint from 8.57.0 to 9.0.0 #2271
Workflow file for this run
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: CI | |
on: | |
push: | |
paths: | |
- '.github/workflows/ci.yml' | |
- '**.js' | |
- '**.eslintrc.json' | |
- 'package.json' | |
- 'package-lock.json' | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@main | |
- name: use node 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- run: npm ci | |
- run: npm test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@main | |
- name: use node 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- run: npm ci | |
- run: npm run lint |