Skip to content

Commit

Permalink
chore(ci): upgrade to using circleci 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chuan6 committed Jul 22, 2018
1 parent b3154a2 commit 720c1cf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 21 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:8
steps:
- checkout
- run: echo 'export PATH=${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin' >> $BASH_ENV
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: yarn-with-greenkeeper
command: |
sudo yarn global add greenkeeper-lockfile@1
yarn
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ~/.cache/yarn
- run: greenkeeper-lockfile-update
- run:
name: test
command: yarn test
- run:
name: report-coverage
command: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- run: greenkeeper-lockfile-upload
21 changes: 0 additions & 21 deletions circle.yml

This file was deleted.

0 comments on commit 720c1cf

Please sign in to comment.