#!/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