File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,13 @@ jobs:
103103 run : echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
104104
105105 - name : List changed packages
106- run : yarn lerna exec --concurrency 1 'if [ "$(npm view $LERNA_PACKAGE_NAME version --registry=https://npm.pkg.github.com/ 2>/dev/null || echo "0.0.0")" != "$(node -p "require(\"./package.json\").version")" ]; then echo "Will publish $LERNA_PACKAGE_NAME@$(node -p "require(\"./package.json\").version")"; fi'
106+ run : |
107+ echo "### Following packages will be published" >> $GITHUB_STEP_SUMMARY
108+ yarn lerna exec --loglevel silent --concurrency 1 -- \
109+ 'VERSION=$(node -p "require(\"./package.json\").version"); \
110+ if [ "$(npm view $LERNA_PACKAGE_NAME version --registry=https://npm.pkg.github.com/ 2>/dev/null || echo "0.0.0")" != "$VERSION" ]; then \
111+ echo "- **$LERNA_PACKAGE_NAME** - will publish version $VERSION" >> $GITHUB_STEP_SUMMARY; \
112+ fi'
107113
108114 publish :
109115 needs : prepare-publish
You can’t perform that action at this time.
0 commit comments