Skip to content

Commit

Permalink
Add ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickreimer committed Oct 3, 2019
1 parent 77762eb commit 1d44b10
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:lts
working_directory: ~/repo

steps:
- checkout

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

- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
- run: npm run test

0 comments on commit 1d44b10

Please sign in to comment.