Merge branch 'fix-logo' into claude/remove-unused-assets-aj9eah #271
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: Chromatic (Playwright) | |
| on: push | |
| permissions: | |
| contents: read | |
| jobs: | |
| chromatic-playwright: | |
| name: Run Chromatic (Playwright) | |
| # Dependabot-triggered runs cannot read Actions secrets, so the | |
| # Chromatic project token is unavailable; skip instead of failing. | |
| if: github.actor != 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps | |
| - name: Run Playwright tests | |
| run: npm run test:chromatic | |
| env: | |
| # Pins the footer's version string so a version bump alone does not re-snapshot the page. | |
| CHROMATIC_STATIC_VERSION: "true" | |
| - name: Run Chromatic | |
| uses: chromaui/action@latest | |
| with: | |
| projectToken: ${{ secrets.CHROMATIC_PLAYWRIGHT_PROJECT_TOKEN }} | |
| playwright: true |