docs: Update README to include guidance for AI generated code #476
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 CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| a11y: | |
| name: A11y testing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Use Node.js 18 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 18 | |
| - name: Install | |
| run: yarn install | |
| - name: Build | |
| run: yarn build | |
| - name: Start server and run a11y tests | |
| run: npx start-server-and-test start http://localhost:3000 test:a11y |