From 99d0e8a71a4e7da779cce48435ddeda8dc8077b4 Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Mon, 20 Feb 2023 19:10:10 +0500 Subject: [PATCH] Add circleci config file * We can use circleci to test all spec files in solution subdirectories --- .circleci/config.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..1471668 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,20 @@ +version: 2.1 + +orbs: + node: circleci/node@5.1.0 + +jobs: + test-solutions: + executor: node/default + steps: + - checkout + - node/install-packages: + pkg-manager: npm + - run: + command: npm run test solution + name: Run tests in **/solution/*.spec.js + +workflows: + test-solutions: + jobs: + - test-solutions