diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index e6b8b6d83dc..5022afbaee9 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -9,6 +9,16 @@ jobs: steps: - uses: actions/checkout@v5 + - uses: actions/setup-node@v4 + with: + node-version: lts/* + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + + - name: Install dependencies + run: pnpm install + - name: Get Netlify Deploy URL for branch id: netlify_deploy if: | @@ -20,16 +30,6 @@ jobs: NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }} GITHUB_REF_NAME: ${{ github.ref_name }} - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - - - name: Install dependencies - run: pnpm install - - name: Install Playwright with all browsers run: npx playwright install --with-deps