Skip to content

Commit 6ca5339

Browse files
committed
chore: enable trusted publishing
1 parent a94e850 commit 6ca5339

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ jobs:
5959
- name: Publish to NPM
6060
if: ${{ steps.do-publish.outputs.tag }}
6161
run: |
62-
npm set "//registry.npmjs.org/:_authToken" "$NODE_AUTH_TOKEN"
63-
64-
npm publish --access=public --tag ${{ steps.do-publish.outputs.tag }} --provenance
62+
yarn npm publish --access=public --tag ${{ steps.do-publish.outputs.tag }} --provenance
6563
6664
NEW_VERSION=$(node -p "require('./package.json').version")
6765
echo "**Published:** $NEW_VERSION" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)