From d8ecdd7c306ca366637fae22d950528bbf85487d Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Tue, 2 Apr 2019 07:14:45 -0400 Subject: [PATCH] Ensure that TSC can fail the CI --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 93ccdf3cb5..c9d2c7887a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "stylelint-project": " stylelint -- 'src/**/*.{ts,tsx}'", "ci": "yarn ci:type-check && yarn ci:lint && yarn prettier-project -l && yarn relay && yarn ci:test", "ci:skip-native-if-possible": "node scripts/ci-skip-native-if-possible.js", - "ci:type-check": "tsc --pretty false | tee tsc_raw.log", + "ci:type-check": "set -o pipefail && tsc --pretty false | tee tsc_raw.log", "ci:lint": "yarn lint --format json --out tslint-errors.json ", "ci:test": "jest --outputFile test-results.json --json --ci --forceExit", "danger": "danger",