Store rendering artifacts immediately after run tests

This commit is contained in:
Frederic Junod
2018-11-15 17:36:32 +01:00
parent d7a6c4dbe3
commit 00d9740a58

View File

@@ -14,7 +14,7 @@ jobs:
- v1-dependencies-{{ checksum "package.json" }} - v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies- - v1-dependencies-
- run: - run:
name: Install Dependencies name: Install Dependencies
command: npm install command: npm install
@@ -22,19 +22,19 @@ jobs:
paths: paths:
- node_modules - node_modules
key: v1-dependencies-{{ checksum "package.json" }} key: v1-dependencies-{{ checksum "package.json" }}
- run: - run:
name: Run Tests name: Run Tests
command: npm test command: npm test
- run: - store_artifacts:
path: rendering/cases/
destination: rendering
- run:
name: Build Examples name: Build Examples
command: npm run build-examples command: npm run build-examples
- store_artifacts: - store_artifacts:
path: build/examples path: build/examples
destination: examples destination: examples
- store_artifacts:
path: rendering/cases/
destination: rendering