Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@n4nagappan
Created February 18, 2019 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n4nagappan/415a7c974511e52fa726e509b7c99d5c to your computer and use it in GitHub Desktop.
Save n4nagappan/415a7c974511e52fa726e509b7c99d5c to your computer and use it in GitHub Desktop.
version: 2
jobs:
build:
docker:
- image: circleci/node:8.10
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: yarn test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment