From 72f0eab7181e6ddf4869e661056127013e6ca9d0 Mon Sep 17 00:00:00 2001 From: mifi Date: Thu, 12 Mar 2026 16:46:41 -0300 Subject: [PATCH] Script updates --- scripts/run-e2e-in-docker.sh | 1 + scripts/run-e2e.sh | 4 +++- scripts/update-e2e-snapshots.sh | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/run-e2e-in-docker.sh b/scripts/run-e2e-in-docker.sh index 55e421c..1e71025 100755 --- a/scripts/run-e2e-in-docker.sh +++ b/scripts/run-e2e-in-docker.sh @@ -24,4 +24,5 @@ docker run --rm \ npx serve dist -p 4173 & sleep 2 pnpm exec playwright test + pnpm install --config.confirmModulesPurge=false ' diff --git a/scripts/run-e2e.sh b/scripts/run-e2e.sh index 59e8960..2465a79 100755 --- a/scripts/run-e2e.sh +++ b/scripts/run-e2e.sh @@ -11,7 +11,9 @@ if [ -n "$CI" ]; then fi if command -v docker >/dev/null 2>&1; then - exec bash "$(dirname "$0")/run-e2e-in-docker.sh" + bash "$(dirname "$0")/run-e2e-in-docker.sh" + pnpm install --config.confirmModulesPurge=false + exit 0 fi # No Docker: run in current environment (e.g. devcontainer; same image as CI) diff --git a/scripts/update-e2e-snapshots.sh b/scripts/update-e2e-snapshots.sh index d3513b5..a4ae57c 100755 --- a/scripts/update-e2e-snapshots.sh +++ b/scripts/update-e2e-snapshots.sh @@ -28,6 +28,7 @@ if command -v docker >/dev/null 2>&1; then sleep 2 pnpm exec playwright test --update-snapshots ' + pnpm install --config.confirmModulesPurge=false else echo "Updating snapshots in the current environment (matches CI when using the devcontainer)." echo ""