mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-21 12:51:16 +08:00
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:
co-authored by
n8n-cat-bot[bot]
parent
a44197c135
commit
e9ab2b4d31
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user