mirror of
https://github.com/offen/website.git
synced 2024-12-23 13:30:20 +01:00
Merge pull request #15 from offen/refactor-js
Clean up client side code, add tests
This commit is contained in:
commit
1bb7d9d3ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user