MTLantoine 6 years ago
parent
commit
998ac03120
  1. 22
      .circleci/config.yml

22
.circleci/config.yml

@ -14,11 +14,25 @@ jobs:
- npm-v1-dependencies-{{ checksum "yarn.lock" }} - npm-v1-dependencies-{{ checksum "yarn.lock" }}
lint: lint:
docker: *shared_docker
steps: 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 lint && yarn format:check
test: test:
docker: *shared_docker
steps: 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 test:ci - run: yarn test:ci
workflows: workflows:
@ -26,9 +40,5 @@ workflows:
build_test: build_test:
jobs: jobs:
- build - build
- lint:
requires:
- build
- test:
requires:
- build
- lint
- test
Loading…
Cancel
Save