mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 09:50:01 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,9 @@ jobs:
|
|||||||
bun-version: latest
|
bun-version: latest
|
||||||
|
|
||||||
- name: Install dependencies
|
- 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
|
- name: Build
|
||||||
run: bun run build
|
run: bun run build
|
||||||
|
|||||||
Reference in New Issue
Block a user