Skip to content

Created Github Workflow for Accessibility Testing (Using Axe) #2

Created Github Workflow for Accessibility Testing (Using Axe)

Created Github Workflow for Accessibility Testing (Using Axe) #2

name: axe
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
axe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x, 18.x
uses: actions/setup-node@v1
with:
node-version: 16.x, 18.x
- run: npm ci
- run: npm run build --if-present
- run: npm start & npx wait-on http://localhost:4010
- name: Run axe
run: |
npm install -g @axe-core/cli
axe http://localhost:4010 --exit