PromucFlow_constructor/app/client/build.sh
Arpit Mohan 51757072de Ignoring manual cypress tests during build
Also correcting the node_modules cache during yarn install
2020-12-11 17:10:05 +05:30

11 lines
281 B
Bash
Executable File

#!/bin/sh
GIT_SHA=$(eval git rev-parse HEAD)
echo $GIT_SHA
echo "Sentry Auth Token: $SENTRY_AUTH_TOKEN"
REACT_APP_SENTRY_RELEASE=$GIT_SHA EXTEND_ESLINT=true craco --max-old-space-size=4096 build --config craco.build.config.js
rm ./build/static/js/*.js.map
echo "build finished"