Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 0416925

Browse files
committed
build: typecheck in CI (prevent test compile errors)
1 parent 4468fb7 commit 0416925

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- stage: test
1414
script:
1515
- npm run prettier
16+
- npm run typecheck
1617
- npm run tslint
1718
- npm run build
1819
- npm test -- --single-run --browsers ChromeHeadlessNoSandbox

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"commitmsg": "commitlint -e $GIT_PARAMS",
1717
"semantic-release": "semantic-release",
1818
"prettier": "prettier '**/{*.{js?(on),ts?(x),scss,yml},.*.js?(on),.*.yml}' --write --list-different",
19+
"typecheck": "tsc -p tsconfig.json",
1920
"tslint": "tslint -c tslint.json -p tsconfig.json './src/*.ts?(x)' './testdata/*.ts?(x)' './*.ts?(x)'",
2021
"build": "npm run tsc && cpy 'src/**/*.scss' lib/",
2122
"tsc": "tsc -p tsconfig.dist.json",

0 commit comments

Comments
 (0)