Created
January 23, 2019 03:38
-
-
Save NickFoden/05eebc705dc211a40570c4318731a42b to your computer and use it in GitHub Desktop.
Circle Ci Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/node:8 | |
steps: | |
- checkout | |
- restore_cache: # special step to restore the dependency cache | |
key: dependency-cache-{{ checksum "package.json" }} | |
- run: | |
name: Setup Dependencies | |
command: yarn | |
- save_cache: # special step to save the dependency cache | |
key: dependency-cache-{{ checksum "package.json" }} | |
paths: | |
- ./node_modules | |
- run: # run tests | |
name: Run Test and Coverage | |
command: | | |
npm test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment