Skip to content

Commit 67c41d7

Browse files
committed
chore: update release action
1 parent 74e6577 commit 67c41d7

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff 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 ###
@@ -74,4 +70,3 @@ jobs:
7470
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
7571
7672
await addIssueComments({ github, context })
77-

0 commit comments

Comments
 (0)