From 45e49cf595aa3565492a58a122c9db4d53cc7001 Mon Sep 17 00:00:00 2001 From: chan Date: Wed, 27 May 2026 13:54:15 +0900 Subject: [PATCH] fix(adminfront): use pnpm for webServer commands in Playwright config --- adminfront/playwright.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adminfront/playwright.config.ts b/adminfront/playwright.config.ts index 80df3513..d4a99e1a 100644 --- a/adminfront/playwright.config.ts +++ b/adminfront/playwright.config.ts @@ -85,8 +85,8 @@ export default defineConfig({ ? undefined : { command: process.env.CI - ? `npm run build && npm run preview -- --host 127.0.0.1 --port ${port}` - : `npm run dev -- --host 127.0.0.1 --port ${port}`, + ? `pnpm run build && pnpm run preview -- --host 127.0.0.1 --port ${port}` + : `pnpm run dev -- --host 127.0.0.1 --port ${port}`, url: defaultBaseUrl, reuseExistingServer, timeout: 120 * 1000,