From 4fee99c128e280b8d053d5ba3be8a6fbb845d686 Mon Sep 17 00:00:00 2001 From: Dimitrie Hoekstra Date: Fri, 25 Sep 2026 21:50:09 +0200 Subject: [PATCH] ci: compress images under nuxt/ again The Compress images workflow ignored nuxt/** since images there were meant to be optimised by Nuxt Image at request time. Production builds run build:nuxt:skip-images, which turns Nuxt Image off, so they serve the files as committed, and after the 11ty teardown every tracked image is under nuxt/public/. With the old ignore the workflow still runs on every image PR but compresses nothing, so a new screenshot ships at full size. It now ignores only node_modules/**, the action's own default. --- .github/workflows/calibreapp-image-actions.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index 3b106a0061..c68a31757c 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -25,4 +25,8 @@ jobs: # For non-Pull Requests, run in compressOnly mode and we'll PR after. compressOnly: ${{ github.event_name != 'pull_request' }} pngQuality: '100' - ignorePaths: 'nuxt/**' + # Every tracked image is under nuxt/public/ now, and production builds skip Nuxt + # Image (build:nuxt:skip-images), so this is the only compression they get. The + # synced trees (nuxt/public/docs, nuxt/public/blueprints) are gitignored and never + # appear in a pull request. + ignorePaths: 'node_modules/**'