2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 01:00:26 +01:00

add tests for script app

This commit is contained in:
Frederik Ring 2019-05-23 16:36:21 +02:00
parent 72d73cad01
commit 48363ffd82

View File

@ -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