File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,17 +50,13 @@ jobs:
5050
5151 - name : publish
5252 run : |
53- npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
54-
5553 git config user.email ${{ secrets.BOT_GIT_EMAIL }}
5654 git config user.name ${{ secrets.BOT_GIT_USERNAME }}
5755
58- ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish ${{ github.event.inputs.release_type }} \
59- ${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }} \
60- --create-release github
56+ ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git ${{ github.event.inputs.release_type }} \
57+ ${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }}
6158 env :
6259 GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
63- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
6460 NPM_CONFIG_PROVENANCE : true
6561
6662 # ## Semantic Release Bot comments for issues and PRs ###
7470 const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
7571
7672 await addIssueComments({ github, context })
77-
You can’t perform that action at this time.
0 commit comments