Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.
TypeScript fintechinvoiceinvoice-generatorinvoice-pdfinvoice-templateinvoicesnextjsopen-sourcequotesreactreact-pdf-rendererself-hostedshadcn-uitailwindcsstypescript
ci: raise Playwright e2e job timeout to 65 minutes (#293)
Vlad Sazonau454240c5154d
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 021b5be..e544a19 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -18,7 +18,7 @@ jobs:if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'name: Run e2e tests via ${{ github.event_name == 'deployment_status' && 'Vercel deployment' }}- timeout-minutes: 50+ timeout-minutes: 65# We pin a macOS runner because the PDF snapshots (screenshots) are generated locally on# macOS, so CI has to rasterize on the same OS family to match them.# https://docs.github.com/en/actions/how-tos/write-workflows/choose-where-workflows-run/choose-the-runner-for-a-job#choosing-github-hosted-runnersdiff --git a/CLAUDE.md b/CLAUDE.mdindex e2e4d9e..a64aabc 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -48,7 +48,7 @@ pnpm vitest --run src/utils/__tests__/url-compression.test.ts -t "round trips"pnpm e2e e2e/invoice-form.test.ts --project="Desktop Chrome" -g "adds an item"```-**Run as few e2e tests as possible.** The full suite is slow (CI budgets 50 minutes across four browser projects) and most of that time is spent generating and rasterizing PDFs. Always narrow to the file you touched, and add `--project="Desktop Chrome"` plus `-g "<test name>"` on top of it. Run the whole suite only when a change is broad enough to warrant it, or when the user asks.+**Run as few e2e tests as possible.** The full suite is slow (CI budgets 65 minutes across four browser projects) and most of that time is spent generating and rasterizing PDFs. Always narrow to the file you touched, and add `--project="Desktop Chrome"` plus `-g "<test name>"` on top of it. Run the whole suite only when a change is broad enough to warrant it, or when the user asks.The pre-commit hook (`lint-staged.config.js`) runs `type-check:fast`, `lint`, `zizmor`, `knip`, `vitest --run` and `format` on _any_ staged change, so keep all of those green.