Skip to content

Instantly share code, notes, and snippets.

@nem035
Last active November 27, 2018 17:36
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 nem035/8c3d7bea39331e5b0e0dd38f1f22084c to your computer and use it in GitHub Desktop.
Save nem035/8c3d7bea39331e5b0e0dd38f1f22084c to your computer and use it in GitHub Desktop.
jobs:
install:
working_directory: ~/enki-project
docker:
- image: circleci/node:8.10.0
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- attach_workspace:
at: ~/enki-project
- run:
name: NPM Install
command: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- persist_to_workspace:
root: ~/enki-project
paths: ./node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment