Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma-nama committed Sep 21, 2023
1 parent d8306ee commit 355f7fb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ jobs:
- name: Install Dependencies
run: pnpm i

- name: Update Examples in create-next-docs-app
run: pnpm update-example

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
version: pnpm run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Update create-next-docs-app Version
if: steps.changesets.outputs.published == 'true'
run: pnpm update-example

0 comments on commit 355f7fb

Please sign in to comment.