Run the E2E runner as the invoking user so its artifacts aren't root-owned
CI / full-gate (push) Successful in 2m37s

This commit is contained in:
2026-08-05 22:25:17 +02:00
parent e8b91ecd09
commit 073ec294e9
14 changed files with 61 additions and 21 deletions
+5
View File
@@ -9,4 +9,9 @@ RUN npm ci
COPY e2e-tests/ ./
# Runs as the invoking `--user` so artifacts land owned by them, not root — that uid has no home
# here, so point everything that wants one at /tmp (npm's cache, and the browsers' profile dirs).
ENV HOME=/tmp
ENV npm_config_cache=/tmp/.npm
CMD ["npx", "playwright", "test"]