fix(build): ship the arm64 and armv7l sharp binaries in the Linux builds (#1771)

The Linux job runs on x64, so npm ci only installs @img/sharp-linux-x64 and
@img/sharp-libvips-linux-x64. The arm64 and armv7l AppImages then carry x64
binaries and fail to load sharp on start. Install the arm packages at the
versions sharp declares, as the Windows and macOS jobs already do.

Fixes #1769

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
alexcastgonzandClaude Sonnet 5.5 authored and GitHub committed 2026-11-06 20:47:11 -06:00
1 parent 803a52c339
commit 9778b6e56a
3 files changed
+99

No files matched your search

+1
View File
@@ -301,6 +301,7 @@ jobs:
npm install --force @rollup/rollup-linux-x64-gnu
npm install --force @rollup/rollup-linux-arm64-gnu
npm install --force @rollup/rollup-linux-arm-gnueabihf
node scripts/install-linux-sharp.cjs
# Bundled plugins are counted as downloads in the plugin store, so a
# build only fetches them when the pins change.