From 270020f56129a0dab3b9461df1e1f01dde75760f Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Mon, 13 Jul 2020 17:42:09 +0100 Subject: [PATCH] remove cache lib/dist --- .travis.yml | 1 - scripts/travis/build/build.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e2ed992e0d..89f501a413 100644 --- a/.travis.yml +++ b/.travis.yml @@ -145,4 +145,3 @@ cache: directories: - node_modules - tmp - - lib/dist diff --git a/scripts/travis/build/build.sh b/scripts/travis/build/build.sh index 036dfd5517..719d461960 100755 --- a/scripts/travis/build/build.sh +++ b/scripts/travis/build/build.sh @@ -24,11 +24,11 @@ then npm install - nx affected --exclude=cli --target=build --all + nx affected --exclude=cli --target=build --all || exit 1; ./scripts/build/build-cli.sh || exit 1; else echo "====== Update the package.json with latest JS-API/CLI deps =====" npx @alfresco/adf-cli@alpha update-version --alpha --pathPackage "$(pwd)" npm install; - nx affected --target=build --base=$BASE_HASH --head=$HEAD_HASH --exclude=cli --prod --with-deps + nx affected --target=build --base=$BASE_HASH --head=$HEAD_HASH --exclude=cli --prod --with-deps || exit 1; fi;