ci: Make Playwright browsers path absolute in E2E workflow (#31686)

Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
This commit is contained in:
n8n-cat-bot[bot] 2026-06-04 07:49:42 +00:00 committed by GitHub
parent a44197c135
commit e9ab2b4d31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'