From 33609432e1e13c16f1d6a8c1b8e2fa11d65d45cb Mon Sep 17 00:00:00 2001 From: Marc Diaz Date: Tue, 7 Apr 2026 13:05:27 -0400 Subject: [PATCH] fix: use npm for install --- .github/workflows/ci.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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" },