Skip to content

Instantly share code, notes, and snippets.

@stevehanson
Last active February 27, 2019 19:00
Show Gist options
  • Save stevehanson/ff70ca54fc2aadfe67f3e3e730161350 to your computer and use it in GitHub Desktop.
Save stevehanson/ff70ca54fc2aadfe67f3e3e730161350 to your computer and use it in GitHub Desktop.
Circle CI config for Create React App
version: 2
jobs:
build:
docker:
- image: circleci/node:10.11.0
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: Setup Dependencies
command: yarn install
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run:
name: Run Test
command: yarn test
@SViccari
Copy link

super helpful, thank you! 🌸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment