Skip to content

Commit

Permalink
Add CircleCI (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen authored Jan 31, 2020
1 parent 16be252 commit 3514401
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# JavaScript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:10

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 --frozen-lockfile

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

- run: yarn test

- run: yarn build

0 comments on commit 3514401

Please sign in to comment.