Conversation
Node.js 20 reached end of life in April 2026 and no longer receives security fixes. The Dockerfile default and both CI jobs now use Node.js 24.21.0 LTS. GitHub is retiring the Node 20 runtime for actions, so check.yml and docker.yml move to the majors that run on Node 24: actions/checkout v7, actions/setup-node v7, docker/setup-buildx-action v4 and docker/build-push-action v7. Their breaking changes only drop inputs these workflows do not use. Caddy 2.11.x ships several security fixes over 2.10.2; the bundled Caddyfile validates unchanged on 2.11.4. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01URmSTaHbqzQS9fEoXkvAZL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
动机
check.yml/docker.yml里的 checkout@v4、setup-node@v4、setup-buildx@v3、build-push@v6 都还声明 Node 20。改动
Dockerfile的NODE_VERSION默认值和check.yml两个 job 的 Node 版本改为 24.21.0。docker-compose.yml的 Caddy 镜像改为caddy:2.11.4-alpine。docs/deployment.md和 CHANGELOG。验证
pnpm check全部通过(68 个测试 + 构建)。caddy validate通过。注意:当前 main 的依赖审计会失败(Next.js 漏洞),和本 PR 无关,另有依赖安全更新的 PR 修复。