mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Update README.md
This commit is contained in:
@@ -69,9 +69,8 @@ jobs:
|
||||
- name: Create Release Pull Request or Publish to npm
|
||||
uses: changesets/action@master
|
||||
with:
|
||||
# The --otp=1 is to get around a bug in changesets
|
||||
# It will be fixed in Changesets 2
|
||||
publish: yarn release --otp=1
|
||||
# this expects you to have a script called release which does a build for your packages and calls changeset publish
|
||||
publish: yarn release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user