Skip to content

Commit

Permalink
separate dtslint into its own CircleCI job (#3528)
Browse files Browse the repository at this point in the history
* separate dtslint into its own CircleCI job

* fix indent
  • Loading branch information
bahmutov committed Feb 28, 2019
1 parent f06aefa commit ecf98cf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,16 @@ jobs:
- store_test_results:
path: /tmp/cypress

lint-typescript:
<<: *defaults
parallelism: 1
steps:
- attach_workspace:
at: ~/
- run:
command: npm run dtslint
working_directory: cli

"server-unit-tests":
<<: *defaults
parallelism: 2
Expand Down Expand Up @@ -677,6 +687,9 @@ linux-workflow: &linux-workflow
name: Linux lint
requires:
- build
- lint-typescript:
requires:
- build
# unit, integration and e2e tests
- unit-tests:
requires:
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"pretest": "npm run check-deps-pre",
"test": "npm run test-unit",
"pretest-unit": "npm run check-deps-pre",
"test-unit": "npm run dtslint && npm run unit",
"test-unit": "npm run unit",
"pretest-watch": "npm run check-deps-pre",
"test-watch": "npm run unit -- --watch",
"check-deps": "node ../scripts/check-deps.js --verbose",
Expand Down

0 comments on commit ecf98cf

Please sign in to comment.