Fix install-all-dependencies script
Because the script was missing the step to build `openai-adapters`, the build would fail, leading to the inability to run tests or the local copy of the extension.
This commit is contained in:
parent
fc438bb56d
commit
ed7dc465bf
2 changed files with 12 additions and 0 deletions
|
|
@ -76,6 +76,12 @@ if (($null -eq $node)) {
|
|||
Write-Host "`nInstalling root-level dependencies..." -ForegroundColor White
|
||||
npm install
|
||||
|
||||
Write-Host "`nBuilding openai-adapters..." -ForegroundColor White
|
||||
Push-Location packages/openai-adapters
|
||||
npm install
|
||||
npm run build
|
||||
Pop-Location
|
||||
|
||||
Write-Host "`nBuilding config-yaml..." -ForegroundColor White
|
||||
Push-Location packages/config-yaml
|
||||
npm install
|
||||
|
|
|
|||
|
|
@ -30,6 +30,12 @@ fi
|
|||
echo "Installing root-level dependencies..."
|
||||
npm install
|
||||
|
||||
echo "Building openai-adapters..."
|
||||
pushd packages/openai-adapters
|
||||
npm install
|
||||
npm run build
|
||||
popd
|
||||
|
||||
echo "Building config-yaml..."
|
||||
pushd packages/config-yaml
|
||||
npm install
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue