1
Fork 0

Run tests on CI

This commit is contained in:
Jake Howard 2019-07-01 15:14:34 +01:00
parent 2ed04034a4
commit 4e833e9264
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 6 additions and 1 deletions

View file

@ -12,3 +12,7 @@ jobs:
- run:
name: Build Project
command: npm run build
run:
name: Run tests
command: npm test

View file

@ -6,7 +6,8 @@
"build": "ts-node index.ts",
"lint": "tsc --noEmit --project tsconfig.json && tslint --project tsconfig.json index.ts",
"prettier": "prettier --write index.ts",
"start": "http-server build/ -c-1"
"start": "http-server build/ -c-1",
"test": "npm run lint && npm run prettier -- --check"
},
"repository": {
"type": "git",