Fix Hero picture border radius #7128
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: UI test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| accessibility: | |
| if: ${{ github.repository == 'primer/brand' }} | |
| name: Accessibility | |
| runs-on: | |
| labels: ubuntu-latest-16-cores | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.14.1 | |
| - name: Cache dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Playwright | |
| run: npm exec --workspace=packages/e2e -- playwright install | |
| - name: Build dependencies | |
| run: npm run build:lib && npm exec --workspace=apps/storybook -- storybook build | |
| - name: Serve Storybook and run tests | |
| run: npx start-server-and-test@3.0.0 'npm run start:axe --workspace=apps/storybook' 6006 'npm run test:axe' | |
| - name: Upload test results | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: axe-test-results | |
| path: packages/e2e/test-results/ | |
| retention-days: 7 |