From 62207c0b3295f9a68c097bd66857e0a78a06a02c Mon Sep 17 00:00:00 2001 From: Marco Pasqualetti <24919330+marcalexiei@users.noreply.github.com> Date: Sun, 22 Feb 2026 10:13:33 +0100 Subject: [PATCH] ci(frontend): e2e - don't use docker image (#97) - Followup of https://github.com/stats-organization/github-stats-extended/pull/91 Dependabot does not update the version specified in the container image. Reading the version directly from package.json prevents potential version mismatches. --- .github/workflows/ci.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4572566f..67d0bad2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,20 +62,6 @@ jobs: runs-on: ubuntu-latest - # Use official playwright docker image, which already includes browsers and related system dependencies. - # By doing this ci time we can skip the following step: - # - # ```yml - # - name: Install Playwright Browsers - # run: pnpm exec playwright install --with-deps - # ``` - # - # By doing so job execution time is reduced by ~20s - # - # @see https://playwright.dev/docs/docker - container: - image: mcr.microsoft.com/playwright:v1.58.0-noble - steps: - name: Checkout code uses: actions/checkout@v6 @@ -88,6 +74,9 @@ jobs: chmod +x ./vercel-preparation.sh ./vercel-preparation.sh + - name: Install Playwright Browsers + run: pnpm exec playwright install --with-deps + - name: Run Playwright tests run: pnpm --filter frontend run test:e2e