Skip to content

chore(ci): bump Pages actions to Node 24 majors#171

Merged
montfort merged 1 commit into
mainfrom
chore/bump-pages-actions
May 19, 2026
Merged

chore(ci): bump Pages actions to Node 24 majors#171
montfort merged 1 commit into
mainfrom
chore/bump-pages-actions

Conversation

@montfort
Copy link
Copy Markdown
Contributor

Summary

Silences the Node 20 deprecation warnings on every Deploy Website run by bumping the three Pages actions to their Node 24 majors:

Action Before After
actions/configure-pages v5 v6
actions/upload-pages-artifact v3 v5
actions/deploy-pages v4 v5

All three new majors run on Node 24 per their release notes (actions/configure-pages v6 changelog: "upgrade to node 24"; actions/deploy-pages v5 changelog: "Update Node.js version to 24.x"; actions/upload-pages-artifact v5 bundles upload-artifact v7). Input/output contracts used here (path on upload, no inputs on configure/deploy) are unchanged across these majors.

Context: after #169 migrated to the official Pages pipeline, runs started emitting:

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/configure-pages@v5, actions/upload-artifact@v4.

GitHub will force Node 24 on June 2, 2026 and remove Node 20 from runners on September 16, 2026, so this is preemptive cleanup.

Test plan

  • Merge to main, confirm the auto-triggered Deploy Website run (path filter matches .github/workflows/deploy-website.yml) succeeds.
  • Confirm the deprecation annotation is gone from the run summary.
  • curl -sI https://straymark.dev/ still returns HTTP/2 200.

- actions/configure-pages: v5 → v6
- actions/upload-pages-artifact: v3 → v5
- actions/deploy-pages: v4 → v5

Silences the Node 20 deprecation warnings surfaced on every
deploy-website run. All three new majors run on Node 24 (per their
release notes) and keep the same input/output contract used here.
montfort added a commit that referenced this pull request May 19, 2026
Distill the operational knowledge accumulated across PRs #169#171 into
a new top-level §Website section in CLAUDE.md so future sessions don't
have to rediscover it.

Sections added:
- Layout of `website/` and what each subdir is for.
- npm scripts table (start/build/sync:docs/migrate:blog/clear/typecheck/
  write-translations).
- i18n: how locales are wired (locales array, code.json, blog
  translations, docs mirror via sync:docs, theme overrides).
- Deploy pipeline (`deploy-website.yml` jobs + permissions, repo-side
  Pages config with `build_type=workflow` / `cname` / `https_enforced`).
- Custom domain workflow (CNAME + url + API cname must all change
  together).
- Build gotchas: slow-tail, no-parallel builds, avoid pipe-to-tail,
  `exclude` semantics, Pages source migration trap.
- Verification commands for deploys.

Internal docs only (`CLAUDE.md` is not shipped to adopters).

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@montfort montfort merged commit 18b8fb0 into main May 19, 2026
1 check passed
@montfort montfort deleted the chore/bump-pages-actions branch May 19, 2026 06:43
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