Skip to content

ci: bump checkout/setup-node to v5 before the June 16 Node 20 deprecation - #54

Open
eunice-guo wants to merge 1 commit into
zarazhangrui:mainfrom
eunice-guo:fix/blog-source-and-node24
Open

ci: bump checkout/setup-node to v5 before the June 16 Node 20 deprecation#54
eunice-guo wants to merge 1 commit into
zarazhangrui:mainfrom
eunice-guo:fix/blog-source-and-node24

Conversation

@eunice-guo

Copy link
Copy Markdown

Why

The daily Generate Feeds job currently uses actions/checkout@v4 and actions/setup-node@v4, which run on the Node 20 action runtime. Every recent run logs:

##[warning]Node.js 20 actions are deprecated… Actions will be forced to run with Node.js 24 by default starting June 16th, 2026.

So this is a time-boxed breakage, not a hypothetical — the scheduled job risks failing right after 2026-06-16.

Change

  • actions/checkout@v4@v5
  • actions/setup-node@v4@v5 (these run on the Node 24 runtime)
  • node-version: '20''22' for the feed script (20 is past active LTS)

No workflow logic or feed-generation behavior changes.

Note for maintainer (not part of this PR)

While here I traced the "thin podcast / empty blog" feel some users notice — it's working as designed, not a bug:

  • fetchPodcastContent returns exactly one episode per run (the newest unseen one that pod2txt can transcribe), so it drains a backlog 1/day.
  • Blogs report "0 new" when the 3 newest posts are already in state.seenArticles; MAX_INDEX_SCAN is also pinned to MAX_ARTICLES_PER_BLOG = 3, so if more than 3 posts land between runs the overflow never gets scanned. Happy to send a follow-up decoupling scan-depth from the output cap if that's of interest.

🤖 Generated with Claude Code

GitHub force-migrates v4 actions (Node 20 runtime) to Node 24 on
2026-06-16; pinning to v5 keeps the daily feed job from breaking.
Also bumps the script's Node from EOL 20 to LTS 22.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant