diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7f1a48..4194797 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: node-version: 22 cache: npm - run: npm ci - - run: npx playwright install --with-deps chromium-headless-shell + - run: npm run test:browser:install - run: npm run test:browser build: diff --git a/package.json b/package.json index 586a846..9951b04 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "test:watch": "vitest", "build-vite": "tsc && vite build", "test:browser": "vitest --config vitest.browser.config.ts --run", + "test:browser:install": "playwright install --with-deps chromium-headless-shell", "test:e2e": "playwright test", "prepare": "husky" },