Skip to content

Commit b0eeb14

Browse files
chore: auto publish
1 parent 3a11043 commit b0eeb14

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ jobs:
2424
- name: Install Dependencies
2525
run: yarn
2626

27-
- name: Create Release Pull Request
27+
- name: Create Release Pull Request or Publish to npm
2828
uses: changesets/action@master
29+
with:
30+
# This expects you to have a script called release which does a build for your packages and calls changeset publish
31+
publish: yarn release
2932
env:
3033
GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
34+
NPM_TOKEN: ${{ secrets.PREACT_NPM_TOKEN }}

0 commit comments

Comments
 (0)