Skip to content

Commit 327e764

Browse files
committed
Validate vsix in publish GHA
1 parent 92561aa commit 327e764

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/marketplace-publish.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ jobs:
3939
OVSX_PAT: ${{ secrets.OVSX_PAT }}
4040
run: |
4141
current_package_version=$(node -p "require('./package.json').version")
42+
43+
npm run vsix
44+
package=$(unzip -l bin/roo-cline-${current_package_version}.vsix)
45+
echo $package
46+
echo $package | grep -q "dist/extension.js" || exit 1
47+
echo $package | grep -q "extension/webview-ui/build/assets/index.js" || exit 1
48+
echo $package | grep -q "extension/node_modules/@vscode/codicons/dist/codicon.ttf" || exit 1
49+
4250
npm run publish:marketplace
4351
echo "Successfully published version $current_package_version to VS Code Marketplace"
44-

.vscodeignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Default
2+
.github/**
3+
.husky/**
24
.vscode/**
35
.vscode-test/**
46
out/**

0 commit comments

Comments
 (0)