build: added manual bun install

This commit is contained in:
Simeon Radivoev 2026-01-23 05:48:11 +02:00
parent fe544ecbc0
commit 6f3be22da9
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A

View file

@ -18,10 +18,20 @@ jobs:
apt-get update
apt-get install -y unzip libstdc++6
- name: Setup Bun
uses: https://github.com/oven-sh/setup-bun@v2
with:
bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64.zip"
- name: Manual Bun Install
run: |
# Download and install via official script
curl -fsSL https://bun.sh/install | bash
# Manually add Bun to the PATH for subsequent steps
echo "BUN_INSTALL=$HOME/.bun" >> $GITHUB_ENV
echo "$HOME/.bun/bin" >> $GITHUB_PATH
# Force execution permissions just in case
chmod +x $HOME/.bun/bin/bun
# Verify it works immediately
$HOME/.bun/bin/bun --version
- name: Install dependencies
run: bun install --frozen-lockfile