Browse Source

add test for ci

main step3
Galimede 6 years ago
parent
commit
8365efa1e8
  1. 12
      .circleci/config.yml

12
.circleci/config.yml

@ -20,11 +20,21 @@ jobs:
- restore_cache: - restore_cache:
key: yarn-packages-v2{{ checksum "yarn.lock" }} key: yarn-packages-v2{{ checksum "yarn.lock" }}
- run : yarn lint && yarn format:check - run : yarn lint && yarn format:check
test:
docker:
- image: cimg/node:14.10.1
steps:
- checkout
- restore_cache:
key: yarn-packages-v2{{ checksum "yarn.lock" }}
- run : yarn test:ci
workflows: workflows:
build_and_test: build_and_test:
jobs: jobs:
- build - build
- check_format: - check_format:
requires: requires:
- build
- test:
requires:
- build - build
Loading…
Cancel
Save