[meta] create SECURITY.yml and FUNDING.yml #527
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@a840bfaa7e24d260a9f451baa97ca172fdb327af | ||
Check failure on line 7 in .github/workflows/test.yml GitHub Actions / .github/workflows/test.ymlInvalid workflow file
|
||
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 | ||