fix(ci): add proper script for edge publishes

This commit is contained in:
Pooya Parsa 2018-10-18 01:55:21 +03:30
parent 28b246dca2
commit d13d0ff3a6
2 changed files with 10 additions and 1 deletions

View File

@ -128,7 +128,7 @@ jobs:
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
yarn lerna version yarn lerna version
PACKAGE_SUFFIX=edge yarn build PACKAGE_SUFFIX=edge yarn build
yarn lerna publish ./scripts/workspace-run npm publish
# Workflow definition # Workflow definition
workflows: workflows:

9
scripts/workspace-run Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
for dir in packages/* distributions/* ; do
echo "$dir"
pushd $dir
$@
popd
done