Include companion VS Code extension VSIX as part of build/release (#4254)

This commit is contained in:
Shreya Keshive
2025-07-16 15:06:39 -04:00
committed by GitHub
parent 34c1b5811a
commit e4ed1aabac
6 changed files with 24 additions and 1 deletions

View File

@@ -33,6 +33,10 @@ if (!existsSync(join(root, 'node_modules'))) {
// build all workspaces/packages
execSync('npm run generate', { stdio: 'inherit', cwd: root });
execSync('npm run build --workspaces', { stdio: 'inherit', cwd: root });
execSync('npx --yes @vscode/vsce package --no-dependencies', {
stdio: 'inherit',
cwd: join(root, 'packages', 'vscode-ide-companion'),
});
// also build container image if sandboxing is enabled
// skip (-s) npm install + build since we did that above