From 6610f00ced5dc4cb93728c76f47616174c8f3850 Mon Sep 17 00:00:00 2001
From: Botho <1258870+elbotho@users.noreply.github.com>
Date: Wed, 13 Dec 2023 16:09:08 +0100
Subject: [PATCH] e2e try install first

---
 .github/workflows/e2e_tests.yaml         | 4 ++--
 .github/workflows/e2e_tests_firefox.yaml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/e2e_tests.yaml b/.github/workflows/e2e_tests.yaml
index 05a6d7479a..fecdce7208 100644
--- a/.github/workflows/e2e_tests.yaml
+++ b/.github/workflows/e2e_tests.yaml
@@ -18,13 +18,13 @@ jobs:
         with:
           node-version: 18.x
       - uses: actions/checkout@v3
+      - run: yarn
+      - run: yarn playwright install --with-deps chromium
       - uses: patrickedqvist/wait-for-vercel-preview@v1.3.1
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
           max_timeout: 1200
           check_interval: 20
-      - run: yarn
-      - run: yarn playwright install --with-deps chromium
       - run: yarn e2e-workers
       - uses: actions/upload-artifact@v3
         if: failure()
diff --git a/.github/workflows/e2e_tests_firefox.yaml b/.github/workflows/e2e_tests_firefox.yaml
index 6544cc1c8a..31951445f1 100644
--- a/.github/workflows/e2e_tests_firefox.yaml
+++ b/.github/workflows/e2e_tests_firefox.yaml
@@ -18,13 +18,13 @@ jobs:
       - uses: actions/setup-node@v3
         with:
           node-version: 18.x
+      - run: yarn
+      - run: yarn playwright install --with-deps firefox
       - uses: patrickedqvist/wait-for-vercel-preview@v1.3.1
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
           max_timeout: 1200
           check_interval: 20
-      - run: yarn
-      - run: yarn playwright install --with-deps firefox
       - run: yarn e2e-firefox tests/4*.ts
       - uses: actions/upload-artifact@v3
         if: failure()