Browse Source

Update config.yml

main
Julien Dudek 6 years ago
parent
commit
90f31a55be
  1. 16
      .circleci/config.yml

16
.circleci/config.yml

@ -19,10 +19,10 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: yarn-v3{{ checksum "yarn.lock" }}
key: yarn-v4{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install - run: yarn global add node-gyp && yarn install
- save_cache: - save_cache:
key: yarn-v3{{ checksum "yarn.lock" }}
key: yarn-v4{{ checksum "yarn.lock" }}
paths: paths:
- ./node_modules - ./node_modules
tests: tests:
@ -31,10 +31,10 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: yarn-v3{{ checksum "yarn.lock" }}
key: yarn-v4{{ checksum "yarn.lock" }}
- run: yarn test:ci - run: yarn test:ci
- save_cache: - save_cache:
key: yarn-v3{{ checksum "yarn.lock" }}
key: yarn-v4{{ checksum "yarn.lock" }}
paths: paths:
- ./node_modules - ./node_modules
lint: lint:
@ -43,10 +43,10 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: yarn-v3{{ checksum "yarn.lock" }}
key: yarn-v4{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check - run: yarn lint && yarn format:check
- save_cache: - save_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
key: yarn-v4{{ checksum "yarn.lock" }}
paths: paths:
- ./node_modules - ./node_modules
e2e: e2e:
@ -61,7 +61,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: yarn-v3{{ checksum "yarn.lock" }}
key: yarn-v4{{ checksum "yarn.lock" }}
- run: - run:
command: yarn test:e2e command: yarn test:e2e
environment: environment:
@ -71,6 +71,6 @@ jobs:
API_HOST: localhost API_HOST: localhost
API_PROTOCOL: http API_PROTOCOL: http
- save_cache: - save_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
key: yarn-v4{{ checksum "yarn.lock" }}
paths: paths:
- ./node_modules - ./node_modules
Loading…
Cancel
Save