diff --git a/.circleci/config.yml b/.circleci/config.yml index b67c41a..d3373c8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 jobs: - build: + build: &shared-config docker: - image: cimg/node:14.10.1 steps: @@ -29,7 +29,7 @@ jobs: name: save yarn package cache key: yarn-packages-v2{{ checksum "yarn.lock" }} paths: - - ./node_modules + - ./node_modules unit-test: docker: - image: cimg/node:14.10.1 @@ -44,7 +44,7 @@ jobs: key: yarn-packages-v2{{ checksum "yarn.lock" }} paths: - ./node_modules - + workflows: build_and_test: jobs: @@ -54,8 +54,4 @@ workflows: - build - lint: requires: - - build - - - - + - build \ No newline at end of file