mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 01:40:01 +00:00
25f7865901
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>
28 lines
574 B
YAML
28 lines
574 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: latest
|
|
|
|
- name: Install dependencies
|
|
# --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
|