Skip to content

Commit f1b4812

Browse files
committed
chore(ci): Fix linting job in CircleCI
The command being run by Circle CI would not return an error code if the linting failed on the JS step, because it only looked at the exit code of linting the TS files.
1 parent 92ab4e3 commit f1b4812

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
- *attach_workspace
3838
- run:
3939
name: Linting JavaScript
40-
command: yarn lint
40+
command: yarn lint:js
41+
- run:
42+
name: Linting TypeScript
43+
command: yarn lint:ts
4144

4245
unit_test:
4346
<<: *docker_defaults

0 commit comments

Comments
 (0)