diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index dfb96405a..36d658605 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,22 +1,17 @@ name: E2E on: - pull_request_target: + pull_request: branches: ['**'] paths-ignore: - '**/*.md' - 'static/**/*' -env: - VITE_STRIPE_PUBLIC_KEY: ${{ vars.VITE_STRIPE_PUBLIC_KEY }} - jobs: e2e: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Use Node.js uses: actions/setup-node@v3 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a93dc1709..a06ab052c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v3 with: diff --git a/playwright.config.ts b/playwright.config.ts index d330159b0..00bf89667 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -8,7 +8,9 @@ const config: PlaywrightTestConfig = { timeout: 120000, env: { VITE_APPWRITE_ENDPOINT: 'http://console-tests.appwrite.org/v1', - VITE_CONSOLE_MODE: 'cloud' + VITE_CONSOLE_MODE: 'cloud', + VITE_STRIPE_PUBLIC_KEY: + 'pk_test_51LT5nsGYD1ySxNCyd7b304wPD8Y1XKKWR6hqo6cu3GIRwgvcVNzoZv4vKt5DfYXL1gRGw4JOqE19afwkJYJq1g3K004eVfpdWn' }, command: 'npm run build && npm run preview', port: 4173 diff --git a/src/app.html b/src/app.html index a53c61628..1be8a9cf9 100644 --- a/src/app.html +++ b/src/app.html @@ -135,6 +135,25 @@ %sveltekit.head%
+