@ -1,5 +1,17 @@
version: 2.1
commands:
restore_cache_cmd:
steps:
- restore_cache:
key: yarn-v1-packages-{{ checksum "yarn.lock" }}
save_cache_cmd:
- save_cache:
paths:
- ./node_modules
jobs:
build:
docker:
@ -7,12 +19,8 @@ jobs:
- checkout
- restore_cache_cmd
- run:
command: "yarn global add node-gyp && yarn install"
name: "installation"
- save_cache_cmd