Skip to content

Instantly share code, notes, and snippets.

@hjhart
Created June 18, 2019 21:51
Show Gist options
  • Select an option

  • Save hjhart/1f421479e56f58fa5959dda01ec36ffe to your computer and use it in GitHub Desktop.

Select an option

Save hjhart/1f421479e56f58fa5959dda01ec36ffe to your computer and use it in GitHub Desktop.

Revisions

  1. hjhart created this gist Jun 18, 2019.
    16 changes: 16 additions & 0 deletions circle_ci.yarn_install.config.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    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