diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..a9edc652 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,21 @@ +version: 2.1 +jobs: + build: + docker: + - image: circleci/node:12 + steps: + - checkout + - restore_cache: + keys: + - deps-hash-{{ checksum "yarn.lock" }} + - deps-hash- # used if checksum fails + + - run: yarn install + - run: yarn test + + - save_cache: + paths: + - node_modules + key: deps-hash-{{ checksum "yarn.lock" }} + + - run: yarn build diff --git a/README.md b/README.md index 95933d1e..099f0696 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@

console-table-printer

🖥️🍭Printing Pretty Tables on your console

+ + CircleCI + codecov