From a8c4f4e1a821d72255c53314f265a9da9fa06a97 Mon Sep 17 00:00:00 2001 From: alxshelepenok Date: Sun, 11 Nov 2018 15:07:39 +0300 Subject: [PATCH] Fix cicleci config --- .circleci/config.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d1c478..6f1cbf5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,20 +1,17 @@ version: 2 -defaults: &defaults - working_directory: ~/repo - docker: - - image: circleci/node:8.9.1 - jobs: test: - <<: *defaults + working_directory: ~/gatsby-starter-lumen + docker: + - image: circleci/node:8.9.1 steps: - checkout - restore_cache: keys: - - v1-dependencies-{{ checksum "yarn.lock" }} + - dependencies-{{ checksum "yarn.lock" }} # fallback to using the latest cache if no exact match is found - - v1-dependencies- + - dependencies- - run: name: Install and build package @@ -35,7 +32,8 @@ jobs: - save_cache: paths: - node_modules - key: v1-dependencies-{{ checksum "yarn.lock" }} + key: dependencies-{{ checksum "yarn.lock" }} + workflows: version: 2 build_test: