diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..238892a --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,17 @@ +version: 2.0 + +jobs: + build: + docker: + - image: circleci/node:8.9.4 + steps: + - checkout + - run: + name: Install dependencies + command: npm install + - run: + name: Build Project + command: npm run build + - run: + name: Run Tests + command: npm test diff --git a/circle.yml b/circle.yml deleted file mode 100644 index c087790..0000000 --- a/circle.yml +++ /dev/null @@ -1,3 +0,0 @@ -machine: - node: - version: 8.9.4 diff --git a/package.json b/package.json index 1345638..c5ae9ec 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "start": "node ./dist/index.js", "prepublish": "npm run build", "build": "tsc", - "test": "npm run build && npm run lint && npm run mocha", + "test": "npm run lint && npm run mocha", "mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js --recursive --bail tests/**/*.test.ts tests/*.test.ts", "lint": "tslint src/**/*.ts --type-check --project tsconfig.json" },