Skip to content

Commit 23f9c99

Browse files
alan-agius4clydin
authored andcommitted
ci: update validate step
With this change add several new validations; - Validate NgBot Configuration - Validate Circular Dependencies - Validate Code Formatting, now also formats and checks Bazel files. (cherry picked from commit d66a5b8)
1 parent 305a8c7 commit 23f9c99

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.circleci/config.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,6 @@ jobs:
154154
steps:
155155
- custom_attach_workspace
156156
- run: yarn lint
157-
- run: 'yarn bazel:format -mode=check ||
158-
(echo "BUILD files not formatted. Please run ''yarn bazel:format''" ; exit 1)'
159-
# Run the skylark linter to check our Bazel rules
160-
- run: 'yarn bazel:lint ||
161-
(echo -e "\n.bzl files have lint errors. Please run ''yarn bazel:lint-fix''"; exit 1)'
162157

163158
validate:
164159
executor: action-executor
@@ -175,6 +170,12 @@ jobs:
175170
- run:
176171
name: Validate Code Formatting
177172
command: yarn -s ng-dev format changed <<pipeline.git.base_revision>> --check
173+
- run:
174+
name: Validate NgBot Configuration
175+
command: yarn ng-dev ngbot verify
176+
- run:
177+
name: Validate Circular Dependencies
178+
command: yarn ts-circular-deps:check
178179
- run:
179180
command: yarn -s admin validate
180181

0 commit comments

Comments
 (0)