fix: add missing doc-pagefooter
and doc-pageheader
roles
#1031
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: | |
branches: | |
- main | |
- "!dependabot/**" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
jest: | |
name: Jest (Node v${{ matrix.node }}) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [14, 16, 17] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Load Node version ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- name: Npm Install | |
run: npm ci | |
- name: Run Jest | |
run: npm run test:ci | |
- name: Run Coveralls | |
uses: coverallsapp/github-action@v2 | |
if: matrix.node == '16' | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
file: ./reports/lcov.info | |
flow: | |
name: Flow type checking | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Load Node | |
uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
- name: Npm Install | |
run: npm ci | |
- name: Flow type check | |
run: npm run flow | |
eslint: | |
name: ESLint (Node v${{ matrix.node }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Load Node version ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- name: Npm Install | |
run: npm ci | |
- name: Run ESLint | |
run: npm run lint | |
diff-breakUpAriaJSON: | |
name: Compare JSON to src output | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Load Node version | |
uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
- name: Npm Install | |
run: npm ci | |
- name: Run diff check for the breakUpAriaJSON script | |
run: node scripts/breakUpAriaJSON.js && git diff --exit-code -- src |