ci: configure workflows

This commit is contained in:
molvqingtai 2024-09-27 17:13:12 +08:00
parent 4111c40471
commit 8cffbe9ef6
2 changed files with 3 additions and 4 deletions

View file

@ -36,6 +36,6 @@ jobs:
version: latest
- run: pnpm install --ignore-scripts
- run: pnpm wxt prepare
- run: pnpx semantic-release
- run: pnpm semantic-release
env:
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}

View file

@ -10,14 +10,13 @@
[
"@semantic-release/exec",
{
"prepareCmd": "pnpm run pack:chrome"
"prepareCmd": "pnpm pack:chrome"
}
],
{
"assets": [
{
"path": ".output/web-chat-{{nextRelease.version}}-chrome.zip",
"label": "Release ZIP"
"path": ".output/web-chat-{{nextRelease.version}}-chrome.zip"
}
]
},