mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
ci: add precise commits code formatting check
This commit is contained in:
parent
920be3ab39
commit
f2049109a9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user