diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..9fb01e30c --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,33 @@ +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 + analyse: + docker: + - image: circleci/node:13.8.0 + steps: + - checkout + - run: npm audit + +workflows: + ci_pipeline_workflow: + jobs: + - build + - test: + requires: + - build + - analyse: + requires: + - test