From 3328b8e79ebd23e4f066bcb3af5db770ff81d491 Mon Sep 17 00:00:00 2001 From: ShMcK Date: Sat, 4 Apr 2020 16:03:28 -0700 Subject: [PATCH] Add .circleci/config.yml --- .circleci/config.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..3d57fadc --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,36 @@ +version: 2.1 +orbs: + node: circleci/node@1.1.6 +jobs: + extension: + description: 'Unit tests for Node app' + executor: + name: node/default + steps: + - checkout + - node/with-cache: + steps: + - run: npm install + - run: npm test + # web: + # description: 'Frontend tests for Web app' + # executor: + # name: node/default + # environment: + # SKIP_PREFLIGHT_CHECK: true + # REACT_APP_TUTORIAL_LIST_URL: https://raw.githubusercontent.com/coderoad/tutorials/master/tutorials.json + # working_directory: ~/web-app + # steps: + # - checkout + # - node/with-cache: + # steps: + # - run: cd web-app && npm install + # - run: cd web-app && npm test + +workflows: + build-and-test: + jobs: + - extension + # - web + # - e2e + # - package