# Ensure the master branch is checked out and up to date.
git checkout master &&
git pull origin master &&

# Remove and clear out packages to ensure there are no
# linked or out of date packages.
rm -rf node_modules &&
yarn cache clean &&

# Reinstall fresh packages.
yarn &&

# Run linters.
yarn lint:ci &&

# Run tests.
yarn test &&

# Build /public.
yarn build
