Files
deployment-portal-fe/postmerge.sh

8 lines
179 B
Bash
Raw Permalink Normal View History

changedFiles="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
if [ $(echo "$changedFiles" | grep -c yarn.lock) -gt 0 ]; then
yarn install
fi
yarn test --silent