MTLantoine 6 years ago
parent
commit
2a57598b30
  1. 18
      .circleci/config.yml

18
.circleci/config.yml

@ -8,32 +8,38 @@ jobs:
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout # check out the code in the project directory
- run: yarn global add node-gyp && yarn install
- restore_cache:
keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install
lint:
docker: *shared_docker
steps:
- checkout # check out the code in the project directory
- run: yarn global add node-gyp && yarn install
- restore_cache:
keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check
- run: yarn global add node-gyp && yarn install && yarn lint && yarn format:check
test:
docker: *shared_docker
steps:
- checkout # check out the code in the project directory
- run: yarn global add node-gyp && yarn install
- restore_cache:
keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run:
yarn global add node-gyp && yarn install && yarn test:ci
- run: yarn test:ci
# e2e_test:
# docker:
# -image: "circleci/postgres:9.6.2-alpine"
# -image: "circleci/node:12"
# steps:
# - checkout
# - run:
# command: yarn
workflows:
version: 2

Loading…
Cancel
Save