ci: add precise commits code formatting check

This commit is contained in:
Charles Lyding 2019-02-27 20:35:55 -05:00 committed by Hans
parent 920be3ab39
commit f2049109a9

View File

@ -85,6 +85,12 @@ jobs:
steps:
- attach_workspace: *attach_options
- run: npm run validate -- --ci
- run:
name: Validate Code Formatting
command: |
if [[ -n "${CIRCLE_PR_NUMBER}" ]]; then
yarn run precise-commits --check-only --head=$CIRCLE_SHA1 --base=$(git merge-base HEAD $CIRCLE_BRANCH)
fi
test:
<<: *defaults