mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-08 03:07:53 +00:00
Validate vsix in publish GHA
This commit is contained in:
parent
92561aae5b
commit
327e764d85
2 changed files with 10 additions and 1 deletions
9
.github/workflows/marketplace-publish.yml
vendored
9
.github/workflows/marketplace-publish.yml
vendored
|
|
@ -39,6 +39,13 @@ jobs:
|
|||
OVSX_PAT: ${{ secrets.OVSX_PAT }}
|
||||
run: |
|
||||
current_package_version=$(node -p "require('./package.json').version")
|
||||
|
||||
npm run vsix
|
||||
package=$(unzip -l bin/roo-cline-${current_package_version}.vsix)
|
||||
echo $package
|
||||
echo $package | grep -q "dist/extension.js" || exit 1
|
||||
echo $package | grep -q "extension/webview-ui/build/assets/index.js" || exit 1
|
||||
echo $package | grep -q "extension/node_modules/@vscode/codicons/dist/codicon.ttf" || exit 1
|
||||
|
||||
npm run publish:marketplace
|
||||
echo "Successfully published version $current_package_version to VS Code Marketplace"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
# Default
|
||||
.github/**
|
||||
.husky/**
|
||||
.vscode/**
|
||||
.vscode-test/**
|
||||
out/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue