Skip to content

Commit cb0f97d

Browse files
authored
run integration bundle builds sequentially (#4740)
1 parent ebc9da5 commit cb0f97d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

packages/integrations/scripts/buildBundles.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,10 @@ for filepath in ./src/*; do
99
continue
1010
fi
1111

12-
# run the build for each integration, pushing each build process into the background once it starts (that's what the
13-
# trailing `&` does) so that we can start another one
14-
echo -e "Building $js_version bundles for \`$file\`..."
15-
INTEGRATION_FILE=$file JS_VERSION=$js_version \
16-
yarn --silent rollup -c rollup.config.js &&
17-
echo -e "Finished building $js_version bundles for \`$file\`." &
12+
# run the build for each integration
13+
INTEGRATION_FILE=$file JS_VERSION=$js_version yarn --silent rollup -c rollup.config.js
1814

1915
done
2016
done
2117

22-
# keep the process running until all backgrounded tasks have finished
23-
wait
24-
2518
echo -e "\nIntegration bundles built successfully"

0 commit comments

Comments
 (0)