first commit
This commit is contained in:
19
entrypoint.sh
Normal file
19
entrypoint.sh
Normal 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
|
||||
Reference in New Issue
Block a user