Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix: use npm for install

Marc Diaz33609432e1e1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e7f1a4846..41947974a 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 586a846c8..9951b04d0 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"
},