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