diff --git a/.circleci/config.yml b/.circleci/config.yml index e44b07a..49b71b2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,3 +12,7 @@ jobs: - run: name: Build Project command: npm run build + + run: + name: Run tests + command: npm test diff --git a/package.json b/package.json index d04c3a2..b963e5e 100644 --- a/package.json +++ b/package.json @@ -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",