diff --git a/.circleci/config.yml b/.circleci/config.yml index 8385b1c..0e0453a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -98,6 +98,8 @@ jobs: - image: circleci/buildpack-deps:stretch steps: - checkout + - restore_cache: + key: yarn-cache{{ checksum "yarn.lock" }} - setup_remote_docker - run: docker image build --tag julienm1/my-awesome-ci-expr:app . - run: docker save -o image.tar julienm1/my-awesome-ci-expr @@ -105,3 +107,7 @@ jobs: root: ./ paths: - ./docker/image.tar + - save_cache: + key: yarn-cache{{ checksum "yarn.lock" }} + paths: + - ./node_modules