There was an error while loading. Please reload this page.
2 parents 460ff1d + 587a1a4 commit 40f8d0cCopy full SHA for 40f8d0c
1 file changed
.github/workflows/release.yml
@@ -75,12 +75,20 @@ jobs:
75
run: pnpm run build:production
76
77
- name: Semantic Release (Prerelease)
78
- run: pnpm run release:semantic
+ id: semantic
79
+ uses: cycjimmy/semantic-release-action@v4
80
+ with:
81
+ semantic_version: 24.2.9
82
+ extra_plugins: |
83
+ @semantic-release/changelog
84
+ @semantic-release/npm
85
+ @semantic-release/github
86
env:
87
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
89
90
- name: Create or Update Release PR
91
+ if: steps.semantic.outputs.new_release_published == 'true'
92
uses: peter-evans/create-pull-request@v7
93
with:
94
token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments