From 2baa3661181ec60f7aeed9f90c04f4cf2dae9cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 23 Oct 2024 03:15:06 -0400 Subject: [PATCH] edit workflow --- .github/workflows/playwright.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index a94b641..fa9efc7 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -14,11 +14,12 @@ jobs: with: node-version: lts/* - name: Install dependencies - run: npm install -g yarn && yarn - - name: Install Playwright Browsers - run: yarn playwright install --with-deps - - name: Run Playwright tests - run: yarn playwright test + run: | + node corepack enable + npm install -g yarn && yarn + yarn install + yarn playwright install --with-deps + yarn playwright test - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: