archive
/
tstatic
Archived
1
Fork 0

Update to CircleCI 2.0

This commit is contained in:
Jake Howard 2018-01-28 11:29:54 +00:00
parent 08a15c97ab
commit 92a4fc3cda
Signed by: jake
GPG Key ID: 57AFB45680EDD477
3 changed files with 18 additions and 4 deletions

17
.circleci/config.yml Normal file
View File

@ -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

View File

@ -1,3 +0,0 @@
machine:
node:
version: 8.9.4

View File

@ -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"
},