Skip to content

fix: update role none to match role presentation, update role doc-pullquote to match specification #1033

fix: update role none to match role presentation, update role doc-pullquote to match specification

fix: update role none to match role presentation, update role doc-pullquote to match specification #1033

Workflow file for this run

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