Skip to content

[Tests] build tests in test env #518

[Tests] build tests in test env

[Tests] build tests in test env #518

Workflow file for this run

name: CI
on:
[push, pull_request, workflow_dispatch]
jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@a840bfaa7e24d260a9f451baa97ca172fdb327af
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@a840bfaa7e24d260a9f451baa97ca172fdb327af
with:
use-npm-ci: true
- 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@a840bfaa7e24d260a9f451baa97ca172fdb327af
with:
use-npm-ci: true
- 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@a840bfaa7e24d260a9f451baa97ca172fdb327af
with:
use-npm-ci: true
- 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