Last active
November 27, 2018 17:36
-
-
Save nem035/8c3d7bea39331e5b0e0dd38f1f22084c to your computer and use it in GitHub Desktop.
This file contains 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
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