pierre darcas 6 years ago
parent
commit
4c9967c95d
  1. 16
      .circleci/config.yml

16
.circleci/config.yml

@ -6,10 +6,10 @@ jobs:
steps:
- checkout # check out the code in the project directory
- restore_cache:
key: yarn-v2-packages-{{ checksum "yarn.lock" }}
key: yarn-v-packages-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install
- save_cache:
key: yarn-v2-packages-{{ checksum "yarn.lock" }}
key: yarn-v-packages-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
lint:
@ -18,10 +18,10 @@ jobs:
steps:
- checkout # check out the code in the project directory
- restore_cache:
key: yarn-v2-packages-{{ checksum "yarn.lock" }}
key: yarn-v-packages-{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check
- save_cache:
key: yarn-v2-packages-{{ checksum "yarn.lock" }}
key: yarn-v-packages-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
test:
@ -30,10 +30,10 @@ jobs:
steps:
- checkout # check out the code in the project directory
- restore_cache:
key: yarn-v2-packages-{{ checksum "yarn.lock" }}
key: yarn-v-packages-{{ checksum "yarn.lock" }}
- run: yarn test:ci
- save_cache:
key: yarn-v2-packages-{{ checksum "yarn.lock" }}
key: yarn-v-packages-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
test_e2e:
@ -47,7 +47,7 @@ jobs:
steps:
- checkout # check out the code in the project directory
- restore_cache:
key: yarn-v2-packages-{{ checksum "yarn.lock" }}
key: yarn-v-packages-{{ checksum "yarn.lock" }}
- run:
command: yarn test:e2e
environement:
@ -57,7 +57,7 @@ jobs:
API_HOST: localhost
API_PROTOCOL: http
- save_cache:
key: yarn-v2-packages-{{ checksum "yarn.lock" }}
key: yarn-v-packages-{{ checksum "yarn.lock" }}
paths:
- ./node_modules

Loading…
Cancel
Save