From 25f786590189c515cbe8c5140dc1207bb66622ef Mon Sep 17 00:00:00 2001 From: renee-png Date: Sun, 7 Jun 2026 13:24:20 -0400 Subject: [PATCH] CI: skip native postinstall scripts (canvas) in bun install canvas tried to compile native bindings on the runner and failed (no prebuilt binary for the Node ABI, no system cairo/pango). The Vite browser build doesn't need it, so install with --ignore-scripts. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c280684..99a43a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,9 @@ jobs: bun-version: latest - name: Install dependencies - run: bun install --frozen-lockfile + # --ignore-scripts skips native postinstall builds (e.g. canvas) that + # aren't needed for the Vite browser build and fail on CI runners. + run: bun install --frozen-lockfile --ignore-scripts - name: Build run: bun run build