fix: upgrade Node to 24 so the Docker build works with sharp 0.35 #3

Merged
Patryk-Kuchta merged 2 commits from fix-docker-node-24 into main 2026-10-19 18:40:05 +00:00
Owner

sharp 0.35.5 requires Node >=20.9.0, so the node:18-alpine image failed
to load the linuxmusl-arm64 binary and the production build broke.

Move the image and both CI workflows to Node 24 (current Active LTS),
raise the engines floor to the version sharp actually needs, and declare
packageManager to silence the corepack warning.

Co-Authored-By: Claude Opus 5 (1M context) [email protected]

sharp 0.35.5 requires Node >=20.9.0, so the node:18-alpine image failed to load the linuxmusl-arm64 binary and the production build broke. Move the image and both CI workflows to Node 24 (current Active LTS), raise the engines floor to the version sharp actually needs, and declare packageManager to silence the corepack warning. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Patryk-Kuchta added 1 commit 2026-10-19 18:37:41 +00:00
fix: upgrade Node to 24 so the Docker build works with sharp 0.35
Security Audit / Security Vulnerability Scan (pull_request) Failing after 13s
Code Quality Check / Lint & Type Check (pull_request) Failing after 13s
ab7b2fa6f4
sharp 0.35.5 requires Node >=20.9.0, so the node:18-alpine image failed
to load the linuxmusl-arm64 binary and the production build broke.

Move the image and both CI workflows to Node 24 (current Active LTS),
raise the engines floor to the version sharp actually needs, and declare
packageManager to silence the corepack warning.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

❌ Code quality check failed. Please run ./windsurf-commands.sh lintfix and ./windsurf-commands.sh typecheck locally to fix issues.

❌ Code quality check failed. Please run `./windsurf-commands.sh lintfix` and `./windsurf-commands.sh typecheck` locally to fix issues.
First-time contributor

Failed to generate code suggestions for PR

Failed to generate code suggestions for PR
Patryk-Kuchta added 1 commit 2026-10-19 18:39:18 +00:00
fix: install pnpm via corepack in CI
Code Quality Check / Lint & Type Check (pull_request) Successful in 19s
Security Audit / Security Vulnerability Scan (pull_request) Successful in 19s
9c597cbc80
pnpm/action-setup's self-installer fails on Node 24 ("Running
self-installer..." exits 1), breaking both workflows. Use corepack
instead, which picks up the pnpm version from the packageManager field
and matches how the Dockerfile installs it.

Also move upload-artifact to v4, since v3 is retired.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Patryk-Kuchta merged commit a18189dcea into main 2026-10-19 18:40:05 +00:00
Patryk-Kuchta deleted branch fix-docker-node-24 2026-10-19 18:40:05 +00:00
Sign in to join this conversation.
No Reviewers
No labels
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Patryk-Kuchta/Portfolio#3