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
chore: set timezone environment variable in e2e workflow to fix timezone issue in node js server env (#178)
Vlad Sazonau77f9ae886c9e
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 5ddc60b..e31bcff 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -11,6 +11,8 @@ jobs:timeout-minutes: 35# we use macos-latest because I am using mac os locally and generating snapshots (screenshots) for the PDF tests locally, so we need to use the same OS on the CI. https://docs.github.com/en/actions/how-tos/write-workflows/choose-where-workflows-run/choose-the-runner-for-a-job#choosing-github-hosted-runnersruns-on: macos-latest+ env:+ TZ: Europe/Warsaw # we use Europe/Warsaw timezone for consistent date handling across local machines and CIsteps:- run: |echo "Environment URL - ${{ github.event_name == 'deployment_status' && github.event.deployment_status.environment_url }}"diff --git a/playwright.config.ts b/playwright.config.tsindex b532bce..4f525c6 100644--- a/playwright.config.ts+++ b/playwright.config.ts@@ -54,7 +54,7 @@ export default defineConfig({/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */trace: "retain-on-failure",- // set timezone to Europe/Warsaw by default for consistent date handling across local machines and CI+ // set timezone to Europe/Warsaw by default for consistent date handling across local machines and CI inside browsertimezoneId: "Europe/Warsaw",// applies to: page.goto(), redirects, page.waitForURL(), clicking links that trigger navigation, form submits that navigate