Skip to content

Instantly share code, notes, and snippets.

@hjhart
Created June 18, 2019 21:51
Show Gist options
  • Save hjhart/1f421479e56f58fa5959dda01ec36ffe to your computer and use it in GitHub Desktop.
Save hjhart/1f421479e56f58fa5959dda01ec36ffe to your computer and use it in GitHub Desktop.
yarn_install:
description: Yarn Install
steps:
- restore_cache:
keys:
- v1-yarn-{{ arch }}-{{ checksum "~/voom/yarn.lock" }}
- v1-yarn-{{ arch }}-
- run:
name: "Yarn Install (Note: Bump cache prefix if this step takes over 30 seconds.)"
command: cd ~/voom; yarn install
- save_cache:
key: v1-yarn-{{ arch }}-{{ checksum "~/voom/yarn.lock" }}
paths:
- ~/voom/node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment