first commit

This commit is contained in:
2025-04-04 08:46:42 +02:00
commit 3a877adad7
4 changed files with 48 additions and 0 deletions

19
entrypoint.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
INPUT_BASE_URL=$baseUrl
set -e
export CYPRESS_BASE_URL="${INPUT_BASE_URL}"
if ! [[ -d "node_modules" ]]; then
log_info "$(red)Error: No node_modules found"
exit 1
fi
log_info "Install cypress binaries"
npx cypress install
log_info "Running cypress cy:test"
npm run cy:test