Bump eslint from 8.57.1 to 9.14.0 #556
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, pull_request, workflow_dispatch] | |
jobs: | |
tests: | |
uses: ljharb/actions/.github/workflows/node.yml@32a09e8b5346216e84d4cdf4769c70af9903b536 | |
with: | |
range: '>= 0.8' | |
type: majors | |
build-command: npm run build:tests | |
build-output-dir: __tests-built__,lib | |
command: npm run tests-built | |
flow: | |
name: Flow type checking | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ljharb/actions/node/install@32a09e8b5346216e84d4cdf4769c70af9903b536 | |
- name: Flow type check | |
run: npm run flow | |
eslint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ljharb/actions/node/install@32a09e8b5346216e84d4cdf4769c70af9903b536 | |
- name: Run ESLint | |
run: npm run lint | |
diff-breakUpAriaJSON: | |
name: Compare JSON to src output | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ljharb/actions/node/install@32a09e8b5346216e84d4cdf4769c70af9903b536 | |
- name: Run diff check for the breakUpAriaJSON script | |
run: node scripts/buildModelModules.js && git diff --exit-code -- src | |
finisher: | |
name: all checks | |
needs: [tests, flow, eslint, diff-breakUpAriaJSON] | |
runs-on: ubuntu-latest | |
steps: | |
- run: true | |