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.
This commit is contained in:
Marco Pasqualetti
2026-02-22 10:13:33 +01:00
committed by GitHub
parent 8a7642db54
commit 62207c0b32
+3 -14
View File
@@ -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