maybe make CI faster
@@ -46,6 +46,7 @@ jobs:
name: Lint project
command: yarn lint
+
- run:
name: Build project
command: yarn build
@@ -61,8 +62,7 @@ jobs:
- persist_to_workspace:
root: ~/repo/app/ui-react
paths:
- - syndesis/build
- - doc
+ - '*'
doc-deploy:
docker:
@@ -78,19 +78,8 @@ jobs:
- checkout:
path: ~/repo
- - restore_cache:
- keys:
- - v2-dependencies-{{ checksum "yarn.lock" }}
- # fallback to using the latest cache if no exact match is found
- - v2-dependencies-
-
- - run:
- name: Install dependencies
- command: yarn install --frozen-lockfile
-
- - run:
- name: Build project
- command: yarn build --ignore @syndesis/syndesis
+ - attach_workspace:
+ at: ~/repo/app/ui-react
- run:
name: Build app for GH-Pages
@@ -117,19 +106,8 @@ jobs:
- checkout:
path: ~/repo
- - restore_cache:
- keys:
- - v2-dependencies-{{ checksum "yarn.lock" }}
- # fallback to using the latest cache if no exact match is found
- - v2-dependencies-
-
- - run:
- name: Install dependencies
- command: yarn install --frozen-lockfile
-
- - run:
- name: Build project
- command: yarn build --ignore @syndesis/syndesis
+ - attach_workspace:
+ at: ~/repo/app/ui-react
- run:
name: Build app for Circle CI artifacts
