Public source validation / validate (push) Failing after 3m8s
14 lines
384 B
PowerShell
14 lines
384 B
PowerShell
$ErrorActionPreference = 'Stop'
|
|
Set-Location (Split-Path -Parent $PSScriptRoot)
|
|
|
|
foreach ($command in @('go', 'node', 'pnpm', 'python')) {
|
|
if (-not (Get-Command $command -ErrorAction SilentlyContinue)) {
|
|
throw "Required command not found: $command"
|
|
}
|
|
}
|
|
|
|
pnpm install --frozen-lockfile
|
|
go test ./...
|
|
pnpm test
|
|
Write-Host 'Bootstrap verification passed.' -ForegroundColor Green
|