chore(deps): Upgrade to Astro 5 and React 19 #132
Workflow file for this run
This file contains 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: Accessibility | |
on: | |
push: | |
branches: main | |
paths: | |
[ | |
"src/**/*.ts", | |
"src/**/*.astro", | |
"astro.config.mjs", | |
"playwright.config.mjs", | |
"package.json", | |
] | |
pull_request: | |
branches: main | |
paths: | |
[ | |
"src/**/*.ts", | |
"src/**/*.astro", | |
"astro.config.mjs", | |
"playwright.config.mjs", | |
"package.json", | |
] | |
jobs: | |
test: | |
name: Playwright | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm i | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install chromium | |
- name: Run Playwright tests | |
run: pnpm test | |
- name: Upload Playwright results | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |