build: check Sharp runtime before compiling the application
Some checks failed
Test and deploy / Verify production build (push) Failing after 1m1s

This commit is contained in:
2026-09-15 23:00:46 +03:30
parent bc49f0ed31
commit 286c9903b8
2 changed files with 29 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ RUN --mount=type=cache,id=portfolio-npm-node22,target=/root/.npm,sharing=locked
--replace-registry-host=registry.npmjs.org \
--include=optional
COPY scripts/check-image-runtime.mjs ./scripts/check-image-runtime.mjs
RUN node scripts/check-image-runtime.mjs
FROM dependencies AS verification
COPY . .