Skip to content

Release workflow, Renovate preset, site publishing - #1

Merged
mkotelnikov merged 3 commits into
mainfrom
release-and-renovate
Oct 5, 2026
Merged

mkotelnikov merged 3 commits into
mainfrom
release-and-renovate

Conversation

@mkotelnikov

@mkotelnikov mkotelnikov commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor
  • .github/workflows/release.yml (changesets/action v2, changesets 3): reusable release job, called after CI on pushes to main. It writes the changesets nobody wrote by hand (scripts/release-changesets.mjs: each packed package compared with npm's latest), then changesets/action opens the version pull request or publishes (trusted publishing or NPM_TOKEN, with provenance).
  • default.json: the Renovate preset the repositories extend (github>statewalker/.github).
  • .github/workflows/publish-site.yml: publish a built static site to <domain>.httpeers.net (the sites bucket on s3.httpeers.net): non-HTML files first, then HTML, then removal of stale files; remove: true deletes a closed PR preview. Needs secrets SITES_S3_ACCESS_KEY_ID / SITES_S3_SECRET_ACCESS_KEY.
  • README: how to use all three, npm authentication options.

Checked locally: release-changesets.mjs --dry-run finds nothing to release in webrun-files and statewalker-shared (deterministic builds match npm) and a patch after a one-line source edit. The preset passes renovate-config-validator --strict.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U

mkotelnikov and others added 2 commits October 5, 2026 07:37
release.yml (called after CI on pushes to main): writes the changesets nobody
wrote by hand (scripts/release-changesets.mjs compares each packed package with
npm's latest: changed files or manifest -> patch, a dependency on another
breaking line -> minor on 0.x / major), then changesets/action opens the
version pull request or publishes, with provenance, through trusted publishing
or NPM_TOKEN.

default.json: the Renovate preset (ranges kept while versions fit them,
@statewalker updates at once and auto-merged, third-party non-breaking updates
weekly, actions grouped, monthly lockfile maintenance).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U
…uirements

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U
Copies a built directory into the sites bucket under the domain's prefix
(non-HTML files, then HTML, then removal of stale files), or removes the
prefix (closed PR previews), then checks that the site answers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U
@mkotelnikov mkotelnikov changed the title Release workflow and Renovate preset Release workflow, Renovate preset, site publishing Oct 5, 2026
@mkotelnikov
mkotelnikov merged commit 6e1ec35 into main Oct 5, 2026
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