From b08753c8462091e024c9af3356560aaa8ab8aaa9 Mon Sep 17 00:00:00 2001 From: Rob Spectre Date: Fri, 31 Jul 2020 13:28:19 -0400 Subject: [PATCH] 1) Configure Circle CI to run tests. --- .circleci/config.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f7efab7..b5ab4f9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,19 @@ version: 2.1 orbs: - node: circleci/node@14.5.0 + node: circleci/node@3.0.1 +jobs: + test: + executor: node/default + steps: + - checkout + - node/install: + install-yarn: true + node-version: latest + - node/install-packages: + cache-path: ~/hack-party/node_modules + override-ci-command: npm install + - run: npm run test:unit workflows: node-tests: jobs: - - npm run test:unit + - test