feat(build): adopt electron-vite for dev + build pipeline #156
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: E2E Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: '24' | |
| cache: npm | |
| cache-dependency-path: package-lock.json | |
| - run: npm ci | |
| - name: Cache Playwright browsers | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-chromium-${{ runner.os }}-${{ hashFiles('app/packages/web/package-lock.json', 'package-lock.json') }} | |
| - name: Install Playwright system dependencies | |
| run: DEBIAN_FRONTEND=noninteractive npx playwright install-deps chromium | |
| working-directory: app/packages/web | |
| timeout-minutes: 5 | |
| - name: Install Playwright browser binaries | |
| run: npx playwright install chromium | |
| working-directory: app/packages/web | |
| timeout-minutes: 5 | |
| - run: npm run app:test:e2e | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: playwright-report | |
| path: app/packages/web/playwright-report/ | |
| retention-days: 30 |