chore(deps-dev): bump astro from 7.0.4 to 7.1.3 #2
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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| env: | |
| FORCE_COLOR: 2 | |
| NODE: 22 | |
| permissions: | |
| contents: read | |
| jobs: | |
| axe: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "${{ env.NODE }}" | |
| cache: npm | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Install Playwright Chromium | |
| # Kept out of devDependencies so the other workflows' npm ci stays | |
| # lean; --no-save leaves package.json and the lockfile untouched. | |
| run: | | |
| npm install --no-save playwright | |
| npx playwright install --with-deps chromium | |
| - name: Build distribution files | |
| run: npm run build | |
| - name: Run axe accessibility checks | |
| run: npm run test-a11y |