Skip to content

Commit

Permalink
ci: add config
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 19, 2018
1 parent 61e8c07 commit 878f1b8
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,29 @@
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: vuejs/ci

working_directory: ~/repo

steps:
- checkout

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

- run: yarn install

- save_cache:
paths:
- node_modules
- ~/.cache/yarn
key: v1-dependencies-{{ checksum "yarn.lock" }}

# run tests!
- run: yarn test

0 comments on commit 878f1b8

Please sign in to comment.