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