diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..1639f182 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,34 @@ +version: 2.1 + +jobs: + build: + docker: + - image: circleci/node:13.8.0 + steps: + - checkout + - run: npm i + - run: npm run lint + test: + docker: + - image: circleci/node:13.8.0 + steps: + - checkout + - run: npm i + - run: npm run test + analyze: + docker: + - image: circleci/node:13.8.0 + steps: + - checkout + - run: npm run audit + +workflows: + my_workflow: + jobs: + - build + - test: + requires: + - build + - analyze: + requires: + - test