From 176f509de835286241af71884e66300d1ac6479c Mon Sep 17 00:00:00 2001 From: Elisabeth Kulzer Date: Wed, 2 Sep 2020 16:00:03 +0200 Subject: [PATCH] Add redux build for when webapp needs to be built in server side (race condition). (#15380) --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a7107d7ce9..438b91d5d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,7 @@ jobs: export WEBAPP_GIT_COMMIT=$(git rev-parse HEAD) echo "$WEBAPP_GIT_COMMIT" - trap 'npm ci && make build' ERR + trap 'npm ci && cd node_modules/mattermost-redux && npm i && npm run build && cd - && make build' ERR curl -f -o ./dist.tar.gz https://pr-builds.mattermost.com/mattermost-webapp/commit/${WEBAPP_GIT_COMMIT}/mattermost-webapp.tar.gz mkdir ./dist && tar -xvf ./dist.tar.gz -C ./dist --strip-components=1 trap - ERR