diff --git a/tasks/e2e.sh b/tasks/e2e.sh index e2dbf6ce378e5033880453f70654b2aad7d96055..908a5cfb641c7dfe6b561df4fdb3a0339ffa60fd 100755 --- a/tasks/e2e.sh +++ b/tasks/e2e.sh @@ -33,6 +33,16 @@ scripts_path=$PWD/`npm pack` # lint ./node_modules/.bin/eslint --ignore-path .gitignore ./ +# Test local start command +npm start -- --smoke-test + +# Test local build command +npm run build + +# Check for expected output +test -e build/*.html || exit 1 +test -e build/*.js || exit 1 + # Pack CLI cd global-cli npm install