mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-23 19:19:03 +08:00
chore: title PRs
This commit is contained in:
parent
42af7a1b7b
commit
0c4396e7fe
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -40,6 +40,8 @@ jobs:
|
||||
uses: changesets/action@v1
|
||||
with:
|
||||
publish: npm run publish
|
||||
title: "Publish a new stable version"
|
||||
commit: "chore(release): publish a new release version"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
@ -50,12 +52,14 @@ jobs:
|
||||
uses: changesets/action@v1
|
||||
with:
|
||||
publish: npm run publish:pre
|
||||
title: "Publish a new pre-release version"
|
||||
commit: "chore(release): publish a new pre-release version"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
|
||||
- name: Send release notification
|
||||
if: steps.changesets.outputs.published == 'true' || steps.changesets_pre.outputs.published == 'true'
|
||||
if: ${{ steps.changesets.outputs.published == 'true' || steps.changesets_pre.outputs.published == 'true' }}
|
||||
id: slack
|
||||
uses: slackapi/slack-github-action@v1.26.0
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user