diff options
ci - run screenshotter
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index ae6f44c8a..ef08d4c48 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,10 @@ workflows: requires: - prep-build - prep-deps-npm + - test-screens: + requires: + - prep-build + - prep-deps-npm - test-unit: requires: - prep-deps-npm @@ -45,6 +49,7 @@ workflows: - test-lint - test-unit - test-e2e + - test-screens - test-integration-mascara-chrome - test-integration-mascara-firefox - test-integration-flat-chrome @@ -145,6 +150,22 @@ jobs: path: test-artifacts destination: test-artifacts + test-screens: + docker: + - image: circleci/node:8-browsers + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ checksum "package-lock.json" }} + - restore_cache: + key: build-cache-{{ .Revision }} + - run: + name: Test + command: npm run test:screens + - store_artifacts: + path: test-artifacts + destination: test-artifacts + test-unit: docker: - image: circleci/node:8-browsers |