Enable Playwright e2e tests in dev container and CI pipeline
This commit is contained in:
@@ -33,3 +33,13 @@ steps:
|
||||
commands:
|
||||
- corepack enable && corepack prepare pnpm@10.28.2 --activate
|
||||
- pnpm test
|
||||
|
||||
- name: test e2e
|
||||
image: mcr.microsoft.com/playwright:v1.58.0-noble
|
||||
commands:
|
||||
- corepack enable && corepack prepare pnpm@10.28.2 --activate
|
||||
- pnpm install --frozen-lockfile || pnpm install
|
||||
- pnpm run build
|
||||
- npx serve dist -p 4173 &
|
||||
- sleep 2
|
||||
- CI=1 pnpm run test:e2e
|
||||
|
||||
Reference in New Issue
Block a user