diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..2b1d2ece0 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,33 @@ +version: 2.1 +jobs: + build: + docker: + - image: node:13.8.0 + steps: + - checkout + - run: "npm i" + - run: "npm run lint" + test: + docker: + - image: node:13.8.0 + steps: + - checkout + - run: "npm i" + - run: "npm run test" + analyze: + docker: + - image: node:13.8.0 + steps: + - checkout + - run: "npm audit" + - run: "npm audit fix" +workflows: + build-workflow: + jobs: + - build + - test: + requires: + - build + - analyze: + requires: + - test