From 8cffbe9ef6e61ffe72a1e6062519c2f532369ae9 Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Fri, 27 Sep 2024 17:13:12 +0800 Subject: [PATCH] ci: configure workflows --- .github/workflows/cd.yml | 2 +- .releaserc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6817c56..2f6606e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 }} diff --git a/.releaserc b/.releaserc index b5ae0b4..ef38516 100644 --- a/.releaserc +++ b/.releaserc @@ -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" } ] },