Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luyilin committed Jan 22, 2018
1 parent d30b77e commit 12ff666
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions circle.yml
@@ -1,21 +1,24 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:7.10
working_directory: ~/repo

docker:
- image: circleci/node:latest
branches:
ignore:
- gh-pages # list of branches to ignore
- /release\/.*/ # or ignore regexes
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-

- run: yarn install

key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: install dependences
command: yarn
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run: yarn test
- ./node_modules
- run:
name: test
command: yarn test

0 comments on commit 12ff666

Please sign in to comment.