chore(deps): Bump the patch-minor group with 10 updates (#151) #103
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 |