Skip to content

Commit

Permalink
Update circleci 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 3, 2018
1 parent 78a49e5 commit 2eead46
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .circle.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4

working_directory: ~/repo

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: yarn

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
- run: yarn test
- run: echo "ALL GOOD IN THE HOOD"

0 comments on commit 2eead46

Please sign in to comment.