diff --git a/.circleci/config.yml b/.circleci/config.yml index 89f9a2f..1773c0f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 jobs: - build: + yarninstall: machine: image: ubuntu-2004:202010-01 steps: @@ -13,4 +13,15 @@ jobs: - save_cache: paths: - "node_module" - key: npm-v1-dependencies-{{ checksum "yarn.lock" }} \ No newline at end of file + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + yarnlint: + machine: + image: ubuntu-2004:202010-01 + steps: + - run: yarn lint + +workflows: + build: + jobs: + - yarninstall + - yarnlint \ No newline at end of file