From 6d10d07489c029c2a2c88e23ac8b5bd0e2481847 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Mon, 11 Oct 2021 02:14:29 +0000 Subject: [PATCH] Add circleci auto tests --- .circleci/config.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..cb72c0e --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,23 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/node:latest + working_directory: ~/flaska + steps: + - checkout + - run: + name: Install dependencies + command: | + npm install + npm list --all + - run: + name: Run tests + command: | + npm test + +workflows: + version: 2 + build_deploy: + jobs: + - build