Skip to content

Commit

Permalink
feat: add circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
farzadso committed Jan 20, 2019
1 parent e663f23 commit d3a35bf
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 2
jobs:
build:
working_directory: /usr/src/app
docker:
- image: banian/node
steps:
# Checkout repository
- checkout

# Restore cache
- restore_cache:
key: yarn-{{ checksum "yarn.lock" }}

# Install dependencies
- run:
name: Install Dependencies
command: NODE_ENV=dev yarn

# Keep cache
- save_cache:
key: yarn-{{ checksum "yarn.lock" }}
paths:
- "node_modules"

# Test
- run:
name: Tests
command: yarn test && yarn codecov

0 comments on commit d3a35bf

Please sign in to comment.