From 1abdc7bbe797d8ef44ed6ca27b374d86c784d571 Mon Sep 17 00:00:00 2001 From: BrickheadJohnny Date: Wed, 24 Jul 2024 09:32:58 +0200 Subject: [PATCH] fix: install `@playwright/test` only --- .github/workflows/playwright.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 7ef06f8a27..64b0770dbd 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -12,9 +12,7 @@ jobs: with: node-version: lts/* - name: Install Playwright - run: npm install -g @playwright/test - - name: Copy Playwright to the local node_modules - run: mv /usr/local/lib/node_modules/@playwright/test ./node_modules + run: npm i @playwright/test - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests