From ecf98cfdeccf422a2d0c8535ea7df8d644fdf683 Mon Sep 17 00:00:00 2001 From: Gleb Bahmutov Date: Thu, 28 Feb 2019 09:07:44 -0500 Subject: [PATCH] separate dtslint into its own CircleCI job (#3528) * separate dtslint into its own CircleCI job * fix indent --- circle.yml | 13 +++++++++++++ cli/package.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 5206058b4d7f..c16b702f5d75 100644 --- a/circle.yml +++ b/circle.yml @@ -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 @@ -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: diff --git a/cli/package.json b/cli/package.json index 773447438bb6..833b9fa11f5f 100644 --- a/cli/package.json +++ b/cli/package.json @@ -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",