From adb43bba0215d1aeec855bf20ea2ee3aa239e565 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Tue, 17 Apr 2018 14:41:22 +0900 Subject: [PATCH] refactor(circle): refactor circle config (#2351) --- .circleci/config.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8962d67..924a800 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,9 +3,6 @@ jobs: test: docker: - image: circleci/node:6-browsers - env: - - DISPLAY=:99 - - CHROME_BIN=/usr/bin/google-chrome steps: - checkout - run: | @@ -13,10 +10,10 @@ jobs: echo "npm v$(npm --version)" echo "$(google-chrome --version)" - restore_cache: - key: deps-npm-{{ checksum "package.json" }} + key: npm-1-{{ checksum "package.json" }} - run: npm install - save_cache: - key: deps-npm-{{ checksum "package.json" }} + key: npm-1-{{ checksum "package.json" }} paths: - ./node_modules - run: npm test @@ -38,10 +35,10 @@ jobs: - vendor/bundle - restore_cache: - key: deps-npm-{{ checksum "package.json" }} + key: npm-2-{{ checksum "package.json" }} - run: npm install - save_cache: - key: deps-npm-{{ checksum "package.json" }} + key: npm-2-{{ checksum "package.json" }} paths: - ./node_modules