Browse Source

Update config.yml

main
Julien Dudek 6 years ago
parent
commit
3d82670991
  1. 18
      .circleci/config.yml

18
.circleci/config.yml

@ -11,7 +11,7 @@ workflows:
- build - build
- e2e: - e2e:
requires: requires:
- build
- lint
jobs: jobs:
build: build:
docker: docker:
@ -19,10 +19,10 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: yarn-v4{{ checksum "yarn.lock" }}
key: yarn-cache{{ 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-v4{{ checksum "yarn.lock" }}
key: yarn-cache{{ 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-v4{{ checksum "yarn.lock" }}
key: yarn-cache{{ checksum "yarn.lock" }}
- run: yarn test:ci - run: yarn test:ci
- save_cache: - save_cache:
key: yarn-v4{{ checksum "yarn.lock" }}
key: yarn-cache{{ 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-v4{{ checksum "yarn.lock" }}
key: yarn-cache{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check - run: yarn lint && yarn format:check
- save_cache: - save_cache:
key: yarn-v4{{ checksum "yarn.lock" }}
key: yarn-cache{{ checksum "yarn.lock" }}
paths: paths:
- ./node_modules - ./node_modules
e2e: e2e:
@ -56,7 +56,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: yarn-v4{{ checksum "yarn.lock" }}
key: yarn-cache{{ checksum "yarn.lock" }}
- run: - run:
command: yarn test:e2e command: yarn test:e2e
environment: environment:
@ -66,6 +66,6 @@ jobs:
API_HOST: localhost API_HOST: localhost
API_PROTOCOL: http API_PROTOCOL: http
- save_cache: - save_cache:
key: yarn-v4{{ checksum "yarn.lock" }}
key: yarn-cache{{ checksum "yarn.lock" }}
paths: paths:
- ./node_modules - ./node_modules
Loading…
Cancel
Save