diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..32731b6 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: 2.1 +orbs: + node: circleci/node@1.1.6 +jobs: + build-and-test-frontend: + # Executor is the environment in which my job is running + executor: + name: node/default + steps: + - checkout + - node/with-cache: + cache-key: frontend/package.json + dir: ~/project/frontend/node_modules + steps: + - run: + command: npm install + working_directory: frontend + - run: + command: npm test + working_directory: frontend + # build-and-test-backend: +workflows: + build-and-test: + jobs: + - build-and-test-frontend + # - build-and-test-backend