ci: submit store test

This commit is contained in:
molvqingtai 2024-10-09 19:22:24 +08:00
parent 614295b7b2
commit de81de92a9
2 changed files with 1 additions and 5 deletions

View file

@ -42,10 +42,6 @@ jobs:
- run: pnpm semantic-release
env:
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}
- run: |
pnpm wxt submit --dry-run \
--chrome-zip .output/*-chrome.zip
env:
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}

View file

@ -21,7 +21,7 @@ export default {
[
'@semantic-release/exec',
{
prepareCmd: 'pnpm run pack'
prepareCmd: `npm run pack && pnpm wxt submit --dry-run --chrome-zip .output/${name}-\${nextRelease.version}-chrome.zip`
}
],
/**