diff --git a/.circleci/config.yml b/.circleci/config.yml index 471a60b479..693d36d2c8 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -128,7 +128,7 @@ jobs: echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc yarn lerna version PACKAGE_SUFFIX=edge yarn build - yarn lerna publish + ./scripts/workspace-run npm publish # Workflow definition workflows: diff --git a/scripts/workspace-run b/scripts/workspace-run new file mode 100755 index 0000000000..d92a62d264 --- /dev/null +++ b/scripts/workspace-run @@ -0,0 +1,9 @@ +#!/bin/bash + +for dir in packages/* distributions/* ; do + echo "$dir" + pushd $dir + $@ + popd +done +