.circleci/config.yml
version: 2
jobs:
build:
docker:
- image: circleci/node:8.9.1-stretch
- image: redis:3.2
steps:
- checkout
- run:
name: install-npm
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: test
command: npm test