Skip to content

Commit

Permalink
Make project build on CircleCI 2.0 (nightscout#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mddub authored Jul 11, 2018
1 parent f660d4b commit b283c86
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2
jobs:
build:
working_directory: ~/minimed-connect-to-nightscout
docker:
- image: circleci/node:8.11.3
steps:
- checkout
- run:
name: update-npm
command: 'sudo npm install -g npm@5'
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: npm-install
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: run-tests
command: npm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"license": "MIT",
"engines": {
"node": "0.10.x"
"node": "8.x",
"npm": "5.x"
},
"dependencies": {
"common": "0.2.x",
Expand Down

0 comments on commit b283c86

Please sign in to comment.