MTLantoine 6 years ago
parent
commit
59ecd167dd
  1. 18
      .circleci/config.yml

18
.circleci/config.yml

@ -16,27 +16,29 @@ jobs:
lint: lint:
docker: *shared_docker docker: *shared_docker
steps: steps:
- run: yarn lint && yarn format:check
- checkout # check out the code in the project directory
- run: yarn global add node-gyp && yarn install
- restore_cache: - restore_cache:
keys: keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }} - npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check
test: test:
docker: *shared_docker docker: *shared_docker
steps: steps:
- run: yarn test:ci
- checkout # check out the code in the project directory
- run: yarn global add node-gyp && yarn install
- restore_cache: - restore_cache:
keys: keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }} - npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn test:ci
workflows: workflows:
version: 2 version: 2
build_test: build_test:
jobs: jobs:
- build - build
- lint:
requires:
- build
- test:
requires:
- build
- lint
- test
Loading…
Cancel
Save