Browse Source

feat: ajout test

main
Julien Dudek 6 years ago
parent
commit
e28915d236
  1. 11
      .circleci/config.yml

11
.circleci/config.yml

@ -6,6 +6,9 @@ workflows:
- lint: - lint:
requires: requires:
- build - build
- test:
requires:
- build
jobs: jobs:
build: build:
docker: docker:
@ -27,3 +30,11 @@ jobs:
- restore_cache: - restore_cache:
key: yarn-packagesV2-{{ checksum "yarn.lock" }} key: yarn-packagesV2-{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check - run: yarn lint && yarn format:check
test:
docker:
- image: "circleci/node:12"
steps:
- checkout
- restore_cache:
key: yarn-packagesV2-{{ checksum "yarn.lock" }}
- run: yarn test:ci
Loading…
Cancel
Save