From f5850bd0c373a253e562e363a10cb72b33d71567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Geel=20Weirs=C3=B8e?= Date: Thu, 11 Jun 2026 19:15:58 +0200 Subject: [PATCH] ci: build with npm + Node 22 so Sharp installs (fixes bun segfault + missing-sharp) bun --bun crashed Bun runtime (SIGILL); plain bun run hit missing Sharp native binary for astro:assets. npm install pulls @img/sharp-linux-x64 reliably. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitea/workflows/deploy.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index fbba787..b09eeaf 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,16 +11,18 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install Bun - uses: oven-sh/setup-bun@v2 + - name: Setup Node + uses: actions/setup-node@v4 with: - bun-version: latest + node-version: 22 + # npm (not bun) so Sharp's native binary for astro:assets image + # optimization installs reliably on the runner - name: Install dependencies - run: bun install + run: npm install - name: Build site - run: bun --bun run build + run: npm run build - name: Deploy dist/ to CT148 over SSH env: