|
|
@ -6,7 +6,7 @@ workflows: |
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
- prep-deps-npm |
|
|
|
- prep-deps-npm |
|
|
|
- prep-deps-firefox |
|
|
|
- prep-deps-firefox |
|
|
|
- build: |
|
|
|
- prep-build: |
|
|
|
requires: |
|
|
|
requires: |
|
|
|
- prep-deps-npm |
|
|
|
- prep-deps-npm |
|
|
|
- prep-scss: |
|
|
|
- prep-scss: |
|
|
@ -17,6 +17,7 @@ workflows: |
|
|
|
- prep-deps-npm |
|
|
|
- prep-deps-npm |
|
|
|
- test-e2e: |
|
|
|
- test-e2e: |
|
|
|
requires: |
|
|
|
requires: |
|
|
|
|
|
|
|
- prep-build |
|
|
|
- prep-deps-npm |
|
|
|
- prep-deps-npm |
|
|
|
- test-unit: |
|
|
|
- test-unit: |
|
|
|
requires: |
|
|
|
requires: |
|
|
@ -71,6 +72,23 @@ jobs: |
|
|
|
paths: |
|
|
|
paths: |
|
|
|
- firefox |
|
|
|
- firefox |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prep-build: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
- image: circleci/node:8-browsers |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: build:dist |
|
|
|
|
|
|
|
command: npm run dist |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: build:debug |
|
|
|
|
|
|
|
command: find dist/ -type f -exec md5sum {} \; | sort -k 2 |
|
|
|
|
|
|
|
- save_cache: |
|
|
|
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
|
|
|
paths: |
|
|
|
|
|
|
|
- dist |
|
|
|
|
|
|
|
|
|
|
|
prep-scss: |
|
|
|
prep-scss: |
|
|
|
docker: |
|
|
|
docker: |
|
|
@ -109,9 +127,8 @@ jobs: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- run: |
|
|
|
- restore_cache: |
|
|
|
name: Build |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
command: npm run dist |
|
|
|
|
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Test |
|
|
|
name: Test |
|
|
|
command: npm run test:e2e |
|
|
|
command: npm run test:e2e |
|
|
@ -220,17 +237,3 @@ jobs: |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: test:integration:mascara |
|
|
|
name: test:integration:mascara |
|
|
|
command: npm run test:mascara |
|
|
|
command: npm run test:mascara |
|
|
|
|
|
|
|
|
|
|
|
build: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
- image: circleci/node:8-browsers |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: build:dist |
|
|
|
|
|
|
|
command: npm run dist |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: build:debug |
|
|
|
|
|
|
|
command: find dist/ -type f -exec md5sum {} \; | sort -k 2 |
|
|
|
|
|
|
|