From d633d9615dde73fd9bb95b83f6c10df46805d603 Mon Sep 17 00:00:00 2001 From: Chintan Kavathia Date: Wed, 22 Jan 2025 16:00:46 +0530 Subject: [PATCH] ci: use same playwright image --- .github/workflows/test_and_deploy.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 77413f085..cea7b16e2 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -44,15 +44,13 @@ jobs: env: CI: true - - name: E2E Prepare - run: | - npm run e2e:prepare --if-present - env: - CI: true - - name: E2E - run: | - npm run e2e --if-present + uses: addnab/docker-run-action@v3 + with: + image: mcr.microsoft.com/playwright:v1.46.0-jammy + options: --ipc=host -v ${{ github.workspace }}:/workspace -w /workspace + run: | + npm run e2e --if-present env: CI: true