fix: add graphql timeout #943
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 | |
| on: | |
| push: | |
| branches: [ "*" ] | |
| pull_request: | |
| branches: [ "*" ] | |
| jobs: | |
| build: | |
| name: Run e2e tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| - name: Install dependencies | |
| run: | | |
| corepack enable | |
| pnpm install | |
| - name: Install Playwright browsers | |
| run: | | |
| pnpm exec playwright install --with-deps chromium | |
| - name: Generate env files | |
| run: | | |
| cp .env.docker.e2e.example .env.docker.e2e | |
| cp .env.scripts.e2e.example .env.scripts.e2e | |
| - name: Build docker compose | |
| run: | | |
| docker compose -f docker-compose.e2e.yml build | |
| sudo systemctl restart docker | |
| docker compose -f docker-compose.e2e.yml up -d | |
| pnpm run init:e2e | |
| docker compose -f docker-compose.e2e.yml stop | |
| - name: Build dashboard repo | |
| env: | |
| CURRENT_BRANCH: ${{ github.head_ref || github.ref_name }} | |
| run: | | |
| pnpm run test:e2e:build:dash | |
| - name: Run tests | |
| run: | | |
| pnpm run test:e2e:run |