refactor: add footer #24
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: Post-Merge | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| e2e: | |
| name: "E2E Tests" | |
| runs-on: ubuntu-latest | |
| # Use Playwright Docker container for consistent visual regression testing | |
| # Screenshots will match between local Docker runs and CI | |
| container: | |
| image: mcr.microsoft.com/playwright:v1.58.2-noble | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Mark workspace as safe | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| - name: Install Dependencies | |
| uses: ./.github/actions/setup | |
| - name: Run E2E Tests | |
| run: bun run test:e2e | |
| env: | |
| CI: true | |
| - name: Upload Playwright Report | |
| uses: actions/upload-artifact@v5 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 30 | |
| - name: Upload Test Results | |
| uses: actions/upload-artifact@v5 | |
| if: failure() | |
| with: | |
| name: test-results | |
| path: test-results/ | |
| retention-days: 30 | |
| # Future jobs can be added here: | |
| # deploy: | |
| # needs: e2e | |
| # ... | |
| # release: | |
| # needs: e2e | |
| # ... |