Skip to content

Commit

Permalink
updated - a11y check
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveJonesDev committed Nov 30, 2023
1 parent 3cff144 commit 7b6791e
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/accessibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,18 @@ on:
branches: [ '**' ]

jobs:
accessibility:
axe:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14' # or the version you need

- name: Install dependencies
run: npm install

- name: Run Axe Linter
run: npx axe-linter # Replace this with your specific command to run Axe Linter
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm ci
- run: npm run build --if-present
- run: npm start & npx wait-on http://localhost:3000
- name: Run axe
run: |
npm install -g @axe-core/cli
axe http://localhost:3000 --exit

0 comments on commit 7b6791e

Please sign in to comment.