Skip to content

Commit 3514401

Browse files
authored
Add CircleCI (#3)
1 parent 16be252 commit 3514401

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# JavaScript Node CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
docker:
9+
# specify the version you desire here
10+
- image: circleci/node:10
11+
12+
steps:
13+
- checkout
14+
15+
# Download and cache dependencies
16+
- restore_cache:
17+
keys:
18+
- v1-dependencies-{{ checksum "yarn.lock" }}
19+
# fallback to using the latest cache if no exact match is found
20+
- v1-dependencies-
21+
22+
- run: yarn --frozen-lockfile
23+
24+
- save_cache:
25+
key: v1-dependencies-{{ checksum "yarn.lock" }}
26+
paths:
27+
- ~/.cache/yarn
28+
29+
- run: yarn test
30+
31+
- run: yarn build

0 commit comments

Comments
 (0)