From fb2d6a5a27353beb8523d75a1d2cfe154674c284 Mon Sep 17 00:00:00 2001 From: Charles Ponti Date: Thu, 27 Aug 2026 11:34:40 -0700 Subject: [PATCH] fix(workflow): validate imagekit publish on macOS where its tools exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit publish-imagekit ran the test gate on ubuntu-latest, where imagekit's macOS-native image ops (sips) and brew tools (exiftool, imagemagick, libavif, webp) are absent — the validate step failed 32/56 tests with 'sips not found'. Move the job to macos-26 and provision the tools, matching the CI harness validation that already passes. --- .github/workflows/publish-imagekit.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-imagekit.yml b/.github/workflows/publish-imagekit.yml index 33d06fe..8e57ab5 100644 --- a/.github/workflows/publish-imagekit.yml +++ b/.github/workflows/publish-imagekit.yml @@ -10,7 +10,7 @@ on: jobs: publish: name: Publish to npm - runs-on: ubuntu-latest + runs-on: macos-26 environment: npm-publish permissions: contents: read @@ -53,6 +53,10 @@ jobs: working-directory: apps/imagekit run: bun run build:npm + - name: Install image tools (test gate) + if: steps.check.outputs.exists == 'false' + run: brew install exiftool imagemagick libavif webp + - name: Validate package if: steps.check.outputs.exists == 'false' working-directory: apps/imagekit