From cb59dc0f69d6b99d3a0f63449123a0c140e87c03 Mon Sep 17 00:00:00 2001 From: emiride Date: Wed, 25 Sep 2024 11:38:54 +0200 Subject: [PATCH] chore(ci): Adding Playwright function --- earthly/playwright/Earthfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 earthly/playwright/Earthfile diff --git a/earthly/playwright/Earthfile b/earthly/playwright/Earthfile new file mode 100644 index 00000000..29a9b78a --- /dev/null +++ b/earthly/playwright/Earthfile @@ -0,0 +1,14 @@ +VERSION 0.8 + +playwright-base: + FROM mcr.microsoft.com/playwright:v1.45.2-jammy + WORKDIR /wallet-automation + + RUN apt-get update && apt-get install -y \ + libnss3 libatk-bridge2.0-0 libdrm-dev libxkbcommon-dev libgbm-dev libasound-dev libatspi2.0-0 libxshmfence-dev postgresql-client xvfb python3.11 python3-pip && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +SETUP: + FUNCTION + FROM +playwright-base \ No newline at end of file