polish(reader): bolder chapter-nav arrows #494
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: yarn | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn test | |
| visual-tests: | |
| runs-on: ubuntu-latest | |
| # Temporarily disabled while the shelf UX is churning (3D closet work); | |
| # drop this `if` to re-enable once the UI stabilizes. | |
| if: false | |
| # Visual diffs are informational — failures don't block merge | |
| continue-on-error: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: yarn | |
| - run: yarn install --frozen-lockfile | |
| - run: npx playwright install --with-deps chromium | |
| - run: yarn build | |
| env: | |
| CI: true | |
| - run: yarn test:visual | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: visual-test-results | |
| path: | | |
| test-results/ | |
| playwright-report/ | |
| retention-days: 7 |