test: use Docker for playwright tests

This commit is contained in:
rusconn
2023-10-16 00:51:20 +09:00
parent 612613859c
commit 8fadf783b6
11 changed files with 18 additions and 18 deletions

View File

@@ -10,8 +10,8 @@
"build": "next build",
"analyze": "ANALYZE=true next build",
"start": "serve out",
"test": "playwright test",
"test:update": "playwright test --update-snapshots",
"test": "docker compose -f compose.test.yaml run --rm playwright npx playwright test",
"test:update": "pnpm test -- --update-snapshots",
"test:report": "playwright show-report",
"deploy": "firebase deploy --project devtoysweb",
"check": "pnpm typecheck && pnpm lint && pnpm format:check",