chore(deps): bump axios from 1.12.2 to 1.13.6 #261
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 | |
| on: | |
| push: | |
| branches: ["**"] # run on every branch | |
| tags: ["*"] # (optional) run on tags too | |
| pull_request: | |
| branches: ["**"] # run on PRs to any branch | |
| workflow_dispatch: # manual run button | |
| concurrency: | |
| group: e2e-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| playwright: | |
| name: Playwright E2E | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version-file: .node-version # falls back to latest LTS if file missing | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| # Workaround npm optional-deps quirk for Rollup on Linux | |
| - name: Patch Rollup native binary (Linux) | |
| if: runner.os == 'Linux' | |
| run: npm i --no-save --no-package-lock @rollup/rollup-linux-x64-gnu@^4 | |
| # Install Playwright browsers and system dependencies | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps | |
| # Install start-server-and-test for running the server and tests | |
| - name: Install start-server-and-test | |
| run: npm i --no-save --no-package-lock start-server-and-test | |
| # Runs tests with managed server lifecycle | |
| - name: Start server and run Playwright tests | |
| env: | |
| CI: true | |
| run: npm run test:e2e:ci | |
| # Always upload the HTML report (and any traces/videos on failure) | |
| - name: Upload Playwright report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-report | |
| path: playwright-report | |
| if-no-files-found: ignore | |
| # (Optional) also upload raw test results & caches for debugging | |
| - name: Upload extra artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-extras | |
| path: | | |
| test-results/** | |
| **/playwright/.cache/** | |
| if-no-files-found: ignore |