safe-react/config/travis/build.sh

10 lines
169 B
Bash
Executable File

#!/bin/bash
export NODE_ENV=production;
if [[ -n "$TRAVIS_TAG" ]]; then export REACT_APP_ENV='production'; fi
yarn lint:check
yarn prettier:check
yarn test
yarn build