Skip to content

Commit 2977337

Browse files
authored
Merge pull request #822 from RooVetGit/cte/ensure-vsix-correctly-built
Validate vsix in publish GHA
2 parents 92561aa + 36dd8c9 commit 2977337

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/marketplace-publish.yml

Lines changed: 8 additions & 1 deletion
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

Lines changed: 2 additions & 0 deletions
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)