Script updates
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-03-12 16:46:41 -03:00
parent beffd5f4e8
commit 72f0eab718
3 changed files with 5 additions and 1 deletions

View File

@@ -24,4 +24,5 @@ docker run --rm \
npx serve dist -p 4173 & npx serve dist -p 4173 &
sleep 2 sleep 2
pnpm exec playwright test pnpm exec playwright test
pnpm install --config.confirmModulesPurge=false
' '

View File

@@ -11,7 +11,9 @@ if [ -n "$CI" ]; then
fi fi
if command -v docker >/dev/null 2>&1; then 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 fi
# No Docker: run in current environment (e.g. devcontainer; same image as CI) # No Docker: run in current environment (e.g. devcontainer; same image as CI)

View File

@@ -28,6 +28,7 @@ if command -v docker >/dev/null 2>&1; then
sleep 2 sleep 2
pnpm exec playwright test --update-snapshots pnpm exec playwright test --update-snapshots
' '
pnpm install --config.confirmModulesPurge=false
else else
echo "Updating snapshots in the current environment (matches CI when using the devcontainer)." echo "Updating snapshots in the current environment (matches CI when using the devcontainer)."
echo "" echo ""