From e9ab2b4d317d9265b0d8a4d4c090f0bb4f8a92f0 Mon Sep 17 00:00:00 2001 From: "n8n-cat-bot[bot]" <283985454+n8n-cat-bot[bot]@users.noreply.github.com> Date: Thu, 4 Jun 2026 07:49:42 +0000 Subject: [PATCH] ci: Make Playwright browsers path absolute in E2E workflow (#31686) Co-authored-by: n8n-cat-bot[bot] --- .github/workflows/test-e2e-reusable.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-e2e-reusable.yml b/.github/workflows/test-e2e-reusable.yml index 4a5ede83f9a..1c73ba0ef15 100644 --- a/.github/workflows/test-e2e-reusable.yml +++ b/.github/workflows/test-e2e-reusable.yml @@ -61,8 +61,10 @@ on: env: NODE_OPTIONS: ${{ contains(inputs.runner, '2vcpu') && '--max-old-space-size=6144' || '' }} PLAYWRIGHT_WORKERS: ${{ inputs.workers != '' && inputs.workers || '2' }} - # Browser cache location - must match install-browsers script - PLAYWRIGHT_BROWSERS_PATH: packages/testing/playwright/.playwright-browsers + # Browser cache location - must match install-browsers script. + # Absolute so nested pnpm invocations (e.g. coverage shard runner) don't + # re-resolve a relative path against the package's INIT_CWD and double it. + PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/packages/testing/playwright/.playwright-browsers # docker-artifact loads the image locally as n8nio/n8n:local; unused in local mode. TEST_IMAGE_N8N: 'n8nio/n8n:local' N8N_SKIP_LICENSES: 'true'