Fix invalid ARIA roles on default progress bar #1837
Workflow file for this run
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: Playwright Tests on Chromium | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-chromium: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
| name: Chromium (${{ matrix.adapter }}${{ matrix.http == 'axios' && ', axios' || '' }}) | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| adapter: ['vue', 'react', 'svelte'] | |
| http: ['default', 'axios'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| with: | |
| version: 11.1.1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build Inertia | |
| run: pnpm -r --filter './packages/{core,vite}' --filter './packages/${{ matrix.adapter }}*' build | |
| - name: Get Playwright Version | |
| id: playwright-version | |
| run: echo "version=$(node -e "console.log(require('playwright/package.json').version)")" >> $GITHUB_OUTPUT | |
| - name: Cache Playwright Browsers | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| id: playwright-cache | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ runner.os }}-chromium-${{ steps.playwright-version.outputs.version }} | |
| - name: Install Playwright Browsers | |
| if: steps.playwright-cache.outputs.cache-hit != 'true' | |
| run: pnpm playwright install --with-deps chromium | |
| - name: Install Playwright Dependencies | |
| if: steps.playwright-cache.outputs.cache-hit == 'true' | |
| run: npx playwright install-deps chromium | |
| - name: Run Playwright Tests | |
| run: pnpm test:${{ matrix.adapter }} | |
| env: | |
| VITE_HTTP_CLIENT: ${{ matrix.http }} | |
| - name: Upload failure screenshots | |
| if: failure() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: playwright-failure-screenshots-${{ matrix.adapter }}-chromium-${{ matrix.http }} | |
| path: test-results | |
| test-chromium-ssr: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
| name: Chromium SSR (${{ matrix.adapter }}, Node ${{ matrix.node-version }}) | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| adapter: ['vue', 'react', 'svelte'] | |
| node-version: ['22.x', '24.x', 'latest'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| with: | |
| version: 11.1.1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build Inertia | |
| run: pnpm -r --filter './packages/{core,vite}' --filter './packages/${{ matrix.adapter }}*' build | |
| - name: Get Playwright Version | |
| id: playwright-version | |
| run: echo "version=$(node -e "console.log(require('playwright/package.json').version)")" >> $GITHUB_OUTPUT | |
| - name: Cache Playwright Browsers | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| id: playwright-cache | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ runner.os }}-chromium-${{ steps.playwright-version.outputs.version }} | |
| - name: Install Playwright Browsers | |
| if: steps.playwright-cache.outputs.cache-hit != 'true' | |
| run: pnpm playwright install --with-deps chromium | |
| - name: Install Playwright Dependencies | |
| if: steps.playwright-cache.outputs.cache-hit == 'true' | |
| run: npx playwright install-deps chromium | |
| - name: Run Playwright SSR Tests | |
| run: pnpm test:ssr:${{ matrix.adapter }} --project=chromium | |
| - name: Upload failure screenshots | |
| if: failure() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: playwright-failure-screenshots-${{ matrix.adapter }}-chromium-ssr-node-${{ matrix.node-version }} | |
| path: test-results |