From 9f6882b6514b4a34f9dcc732ef815beb20c263a0 Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 21 Mar 2018 15:44:48 -0700 Subject: [PATCH 1/2] ci - add build step --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c14909783..b147200da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,9 @@ workflows: jobs: - prep-deps-npm - prep-deps-firefox + - build: + requires: + - prep-deps-npm - prep-scss: requires: - prep-deps-npm @@ -200,3 +203,14 @@ jobs: - run: name: test:integration: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: test:integration:mascara + command: npm run dist && find dist/ -type f -exec md5sum {} \; | sort -k 2 > dist_md5 && echo dist_md5 From 000edc8fd27f5c8bd3ca9f69e54df5a0929463e7 Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 21 Mar 2018 15:50:34 -0700 Subject: [PATCH 2/2] ci - fix build job logging --- .circleci/config.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b147200da..bcc9a299f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -212,5 +212,8 @@ jobs: - restore_cache: key: dependency-cache-{{ checksum "package-lock.json" }} - run: - name: test:integration:mascara - command: npm run dist && find dist/ -type f -exec md5sum {} \; | sort -k 2 > dist_md5 && echo dist_md5 + name: build:dist + command: npm run dist + - run: + name: build:debug + command: find dist/ -type f -exec md5sum {} \; | sort -k 2