Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: cli npm test - windows pwsh exit code, linux libpulse dep

Louis Beaumontf0a47c5b3810
diff --git a/.github/workflows/test-cli-npm.yml b/.github/workflows/test-cli-npm.yml
index af79d6979..8a893de15 100644
--- a/.github/workflows/test-cli-npm.yml
+++ b/.github/workflows/test-cli-npm.yml
@@ -66,8 +66,8 @@ jobs:
shell: pwsh
run: |
Get-ComputerInfo | Select-Object OsName, OsArchitecture
- where.exe screenpipe 2>$null
- if ($LASTEXITCODE -eq 0) { Write-Error "screenpipe already installed"; exit 1 }
+ $found = (Get-Command screenpipe -ErrorAction SilentlyContinue)
+ if ($found) { Write-Error "screenpipe already installed"; exit 1 }
Write-Output "OK: not installed"
- name: Install bun
@@ -95,6 +95,11 @@ jobs:
uname -a
which screenpipe 2>/dev/null && exit 1 || echo "OK: not installed"
+ - name: Install system deps
+ run: |
+ sudo apt-get update -qq
+ sudo apt-get install -qq -y libpulse0 libasound2-dev ffmpeg
+
- name: Install bun
run: curl -fsSL https://bun.sh/install | bash