Browse Source

refactor(circle): refactor circle config (#2351)

pull/2348/head
Yoshiya Hinosawa 7 years ago committed by GitHub
parent
commit
adb43bba02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      .circleci/config.yml

11
.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

Loading…
Cancel
Save