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
|
- name: Create Release Pull Request or Publish to npm
|
||||||
uses: changesets/action@master
|
uses: changesets/action@master
|
||||||
with:
|
with:
|
||||||
# The --otp=1 is to get around a bug in changesets
|
# this expects you to have a script called release which does a build for your packages and calls changeset publish
|
||||||
# It will be fixed in Changesets 2
|
publish: yarn release
|
||||||
publish: yarn release --otp=1
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user