馃拕 app: tweak historical rate chart layout (4 workers) #1722
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
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| push: | |
| workflow_dispatch: | |
| inputs: | |
| e2e_workers: { description: Playwright worker count, required: false, type: string } | |
| run-name: ${{ github.event.head_commit.message || github.sha }}${{ format(' ({0} workers)', inputs.e2e_workers || 4) }} | |
| jobs: | |
| test: | |
| if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }} | |
| runs-on: ubuntu-latest | |
| environment: Preview | |
| env: | |
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
| SENTRY_ORG: exactly | |
| SENTRY_PROJECT: webapp | |
| SENTRY_ENVIRONMENT: development | |
| NEXT_PUBLIC_NETWORK: 11155420 | |
| E2E_WORKERS: ${{ inputs.e2e_workers || 4 }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: { node-version: 24, package-manager-cache: false } | |
| - run: corepack enable | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm run check | |
| - uses: foundry-rs/foundry-toolchain@v1 | |
| - run: pnpm exec playwright install chromium --with-deps | |
| - id: e2e | |
| run: pnpm test | |
| - uses: actions/upload-artifact@v7 | |
| if: ${{ always() }} | |
| with: { name: test-results, path: test-results } | |
| - uses: codecov/codecov-action@v5 | |
| if: ${{ always() }} | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: test-results/coverage/lcov.info | |
| disable_search: true | |
| - uses: cloudflare/wrangler-action@v4 | |
| if: ${{ steps.e2e.conclusion == 'success' && github.ref == 'refs/heads/main' }} | |
| with: | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| accountId: 569f3c4008862b4cc595f409db748f41 | |
| packageManager: npm | |
| command: pages deploy test-results/report --project-name=app-test --branch=${{ github.ref_name }} |