diff --git a/scripts/e2e-test.sh b/scripts/e2e-test.sh index 1532bb95a2f0c..509f900a73c54 100755 --- a/scripts/e2e-test.sh +++ b/scripts/e2e-test.sh @@ -3,7 +3,7 @@ SRC_PATH=$1 CUSTOM_COMMAND="${2:-yarn test}" GATSBY_PATH="${CIRCLE_WORKING_DIRECTORY:-../../}" -# cypress docker does not support sudo and do not need it but the default node executor does +# cypress docker does not support sudo and does not need it, but the default node executor does command -v sudo && sudo npm install -g gatsby-dev-cli || npm install -g gatsby-dev-cli && # setting up child integration test link to gatsby packages