Browse Source

requires

main
MTLantoine 6 years ago
parent
commit
a75c0f305e
  1. 20
      .circleci/config.yml

20
.circleci/config.yml

@ -16,23 +16,11 @@ jobs:
lint: lint:
docker: *shared_docker 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 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:
@ -40,5 +28,9 @@ workflows:
build_test: build_test:
jobs: jobs:
- build - build
- lint
- test
- lint:
requires:
- build
- test:
requires:
- build
Loading…
Cancel
Save