build: check Sharp runtime before compiling the application
Some checks failed
Test and deploy / Verify production build (push) Failing after 1m1s
Some checks failed
Test and deploy / Verify production build (push) Failing after 1m1s
This commit is contained in:
@@ -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 . .
|
||||
|
||||
Reference in New Issue
Block a user