From c5486d0b221674e9c7177d09e8569a483188d13e Mon Sep 17 00:00:00 2001 From: huuaho <32457341+huuaho@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:48:46 -0500 Subject: [PATCH] Update axe.yaml --- .github/workflows/axe.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/axe.yaml b/.github/workflows/axe.yaml index 21d2eecb..b5755040 100644 --- a/.github/workflows/axe.yaml +++ b/.github/workflows/axe.yaml @@ -21,8 +21,16 @@ jobs: with: node-version: 16 - run: npm ci --legacy-peer-deps - - run: npm start & npx wait-on http://localhost:3000/${{ matrix.pages }} + + - run: npx concurrently "npm start" "npx wait-on http://localhost:3000" + - name: Run axe run: | npm install -g @axe-core/cli - axe http://localhost:3000 --exit + axe http://localhost:3000/${{ matrix.pages }}\ + --save results/${{ matrix.pages }}-report.json + + - name: Upload accessibility report + uses: actions/upload-artifact@v4 + with: + name: axe-reports