feat(sdui): adaptive questionnaire demo with fixture-as-server skip l… #68
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: A11y audit — axe-core on fixture graphs | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - 'v2/sdui/schema/**' | |
| - 'v2/sdui/demo/src/fixtures/**' | |
| - 'v2/sdui/demo/src/a11y/**' | |
| - 'v2/sdui/renderers/**' | |
| pull_request: | |
| paths: | |
| - 'v2/sdui/schema/**' | |
| - 'v2/sdui/demo/src/fixtures/**' | |
| - 'v2/sdui/demo/src/a11y/**' | |
| - 'v2/sdui/renderers/**' | |
| jobs: | |
| a11y-audit: | |
| name: axe-core critical/serious violations gate | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: | | |
| v2/sdui/schema/package-lock.json | |
| v2/sdui/demo/package-lock.json | |
| - name: Build schema | |
| run: npm ci && npm run build | |
| working-directory: v2/sdui/schema | |
| - name: Install demo deps | |
| run: npm ci | |
| working-directory: v2/sdui/demo | |
| - name: Run a11y audit | |
| run: npm test | |
| working-directory: v2/sdui/demo |