Skip to content

For 3.12.0

For 3.12.0 #41

name: axe
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
axe:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: 20.x

Check failure on line 16 in .github/workflows/axe-a11y-check.yml

View workflow run for this annotation

GitHub Actions / axe

Invalid workflow file

The workflow is not valid. .github/workflows/axe-a11y-check.yml (Line: 16, Col: 23): Unexpected value '20.x'
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm install -g http-server
- run: npm run build --if-present
- run: http-server -s &
- name: Run axe
run: |
npm install -g @axe-core/cli
sleep 90
axe http://127.0.0.1:8080 --exit