build(deps): bump the frontend-dependencies group across 1 directory with 14 updates #50
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 (Playwright) | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'Frontend/**' | |
| - '.github/workflows/e2e.yml' | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'Frontend/**' | |
| - '.github/workflows/e2e.yml' | |
| schedule: | |
| - cron: "0 6 * * *" | |
| concurrency: | |
| group: e2e-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| playwright: | |
| name: Playwright E2E | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: Frontend | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: Frontend/.nvmrc | |
| cache: npm | |
| cache-dependency-path: Frontend/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Playwright browsers | |
| run: npx playwright install chromium | |
| - name: Run Playwright tests | |
| run: npx playwright test | |
| - name: Upload Playwright report | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-report | |
| path: Frontend/playwright-report/ | |
| retention-days: 7 |