Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza authored Feb 14, 2019
1 parent 469d4ad commit 3ca218b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
version: 2
jobs:
build:
working_directory: /usr/src/app
docker:
- image: banian/node
- image: circleci/node
steps:
# Checkout repository
- checkout

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

# Install dependencies
- run:
Expand All @@ -19,14 +18,19 @@ jobs:

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

# Test
# Lint
- run:
name: Lint
command: yarn lint

# Tests
- run:
name: Tests
command: yarn test
command: yarn jest

# Coverage
- run:
Expand Down

0 comments on commit 3ca218b

Please sign in to comment.