Skip to content

Commit a343ddd

Browse files
satoshai-devclaude
andauthored
ci: add E2E test-dapp job to CI workflow (#24)
Run Playwright e2e tests against the test-dapp on PRs, in parallel with the existing lint/typecheck/unit-test job. Uses only Chromium and the hardcoded testnet key — no secrets required. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e96d035 commit a343ddd

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,31 @@ jobs:
4141

4242
- name: Changeset check
4343
run: npx changeset status --since=origin/main
44+
45+
e2e:
46+
name: E2E Tests (test-dapp)
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@v4
51+
52+
- name: Install pnpm
53+
uses: pnpm/action-setup@v4
54+
55+
- name: Setup Node.js
56+
uses: actions/setup-node@v4
57+
with:
58+
node-version: 20
59+
cache: pnpm
60+
61+
- name: Install dependencies
62+
run: pnpm install --frozen-lockfile
63+
64+
- name: Build
65+
run: pnpm build
66+
67+
- name: Install Playwright browsers
68+
run: pnpm --filter test-dapp exec playwright install --with-deps chromium
69+
70+
- name: Run E2E tests
71+
run: pnpm test:e2e:test-dapp

0 commit comments

Comments
 (0)