Skip to content

Commit

Permalink
ci: setup circleci and remove coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jul 11, 2019
1 parent 7b119aa commit f0b45b8
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 1,157 deletions.
40 changes: 40 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
version: 2
jobs:
build_10.15.3:
docker:
- image: 'circleci/node:10.15.3'
working_directory: ~/app
steps:
- checkout
- restore_cache:
keys:
- 'v1-dependencies-{{ checksum "package.json" }}'
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- node_modules
key: 'v1-dependencies-{{ checksum "package.json" }}'
- run: npm test
build_latest:
docker:
- image: 'circleci/node:latest'
working_directory: ~/app
steps:
- checkout
- restore_cache:
keys:
- 'v1-dependencies-{{ checksum "package.json" }}'
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- node_modules
key: 'v1-dependencies-{{ checksum "package.json" }}'
- run: npm test
workflows:
version: 2
workflow:
jobs:
- build_10.15.3
- build_latest
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"ts": true,
"license": "MIT",
"services": [
"coveralls"
"circleci"
],
"minNodeVersion": "10.15.3"
}
Loading

0 comments on commit f0b45b8

Please sign in to comment.