test(cloud): add tunnel-backed store e2e

This commit is contained in:
saltbo
2026-05-09 22:17:52 -04:00
parent 02d88b0684
commit 800cda9f9c
11 changed files with 727 additions and 57 deletions
+10 -4
View File
@@ -60,7 +60,11 @@ jobs:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- run: npx playwright install --with-deps chromium
- run: npm run e2e
- name: Install cloudflared
run: |
curl -L --fail --output cloudflared https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64
chmod +x cloudflared
- run: CLOUDFLARED_BIN=./cloudflared npm run e2e:cloud -- --runtime node
- uses: actions/upload-artifact@v4
if: failure()
with:
@@ -82,9 +86,11 @@ jobs:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- run: npx playwright install --with-deps chromium
- run: echo "BETTER_AUTH_SECRET=ci-test-secret-that-is-at-least-32-chars" > .dev.vars
- run: npx wrangler d1 migrations apply DB --local
- run: E2E_RUNTIME=cf npm run e2e
- name: Install cloudflared
run: |
curl -L --fail --output cloudflared https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64
chmod +x cloudflared
- run: CLOUDFLARED_BIN=./cloudflared npm run e2e:cloud:cf
- uses: actions/upload-artifact@v4
if: failure()
with: