safe-react/config/travis/build.sh

10 lines
178 B
Bash
Raw Normal View History

#!/bin/bash
export NODE_ENV=production;
if [[ -n "$TRAVIS_TAG" ]]; then export REACT_APP_ENV='production'; fi
yarn lint:check
yarn prettier:check
2020-07-01 22:20:06 +00:00
yarn test:coverage
yarn build