first commit
This commit is contained in:
16
entrypoint.sh
Normal file
16
entrypoint.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT_BASE_URL=$baseUrl
|
||||
|
||||
set -e
|
||||
|
||||
CY_ACTION_PATH="/e2e"
|
||||
cd "${CY_ACTION_PATH}"
|
||||
|
||||
export CYPRESS_BASE_URL="${INPUT_BASE_URL}"
|
||||
|
||||
env
|
||||
npm run cy:test
|
||||
|
||||
mkdir -p "${GITHUB_WORKSPACE}/artifacts"
|
||||
cp -r "${CY_ACTION_PATH}/cypress/e2e/__image_snapshots__/" "${GITHUB_WORKSPACE}/artifacts/"
|
||||
Reference in New Issue
Block a user