Skip to content

Commit 878f1b8

Browse files
committedMar 19, 2018
ci: add config
1 parent 61e8c07 commit 878f1b8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
 

‎.circleci/config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
# specify the version you desire here
6+
- image: vuejs/ci
7+
8+
working_directory: ~/repo
9+
10+
steps:
11+
- checkout
12+
13+
# Download and cache dependencies
14+
- restore_cache:
15+
keys:
16+
- v1-dependencies-{{ checksum "yarn.lock" }}
17+
# fallback to using the latest cache if no exact match is found
18+
- v1-dependencies-
19+
20+
- run: yarn install
21+
22+
- save_cache:
23+
paths:
24+
- node_modules
25+
- ~/.cache/yarn
26+
key: v1-dependencies-{{ checksum "yarn.lock" }}
27+
28+
# run tests!
29+
- run: yarn test

0 commit comments

Comments
 (0)
Please sign in to comment.