MTLantoine 6 years ago
parent
commit
7a76b36ca9
  1. 8
      .circleci/config.yml

8
.circleci/config.yml

@ -8,12 +8,12 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- npm-v2-dependencies-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install - run: yarn global add node-gyp && yarn install
- save_cache: - save_cache:
paths: paths:
- ./node_modules - ./node_modules
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: npm-v2-dependencies-{{ checksum "yarn.lock" }}
lint: lint:
docker: *shared_docker docker: *shared_docker
@ -21,7 +21,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- npm-v2-dependencies-{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check - run: yarn lint && yarn format:check
test: test:
@ -30,7 +30,7 @@ jobs:
- checkout # check out the code in the project directory - checkout # check out the code in the project directory
- restore_cache: - restore_cache:
keys: keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- npm-v2-dependencies-{{ checksum "yarn.lock" }}
- run: yarn test:ci - run: yarn test:ci

Loading…
Cancel
Save