You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
442 B

7 years ago
version: 2
jobs:
build:
docker:
- image: circleci/node:10.16.3
7 years ago
working_directory: ~/repo
steps:
- checkout
- restore_cache:
key: node_modules-{{ checksum "package-lock.json" }}
- run: test -d node_modules || npm i
7 years ago
- save_cache:
key: node_modules-{{ checksum "package-lock.json" }}
paths:
- node_modules
7 years ago
# run tests!
- run: npm t || npm t