From 48363ffd8225cc2e554ed75f6fd4b3b8d0f639a8 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Thu, 23 May 2019 16:36:21 +0200 Subject: [PATCH] add tests for script app --- .circleci/config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a709fc..908a7c6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -100,6 +100,26 @@ jobs: name: Run tests command: npm test + packages: + docker: + - image: circleci/node:10-browsers + working_directory: ~/offen/packages + steps: + - checkout: + path: ~/offen + - restore_cache: + key: offen-packages-{{ checksum "package.json" }} + - run: + name: Install dependencies + command: npm install + - save_cache: + paths: + - ~/offen/packages/node_modules + key: offen-packages-{{ checksum "package.json" }} + - run: + name: Run tests + command: npm test + workflows: version: 2 build_and_test: @@ -108,3 +128,4 @@ workflows: - vault - script - auditorium + - packages