Skip to content

ci: add CI checks and release-please releases - #4

Merged
eiserv merged 1 commit into
mainfrom
claude/typecheck-cicd-pipelines-d23e03
Oct 12, 2026
Merged

eiserv merged 1 commit into
mainfrom
claude/typecheck-cicd-pipelines-d23e03

Conversation

@nickolep

@nickolep nickolep commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • CI (.github/workflows/ci.yml): npm run check (typecheck, build, tests, npm pack --dry-run) on Node 20/22/24 for every PR and push to main.
  • Releases (.github/workflows/publish.yml, now named "Release"): on pushes to main, release-please keeps a release PR open. Merging it bumps package.json/package-lock.json, updates CHANGELOG.md, tags vX.Y.Z, creates the GitHub Release, and publishes to npm in the same run.
    • Releases created by hand still publish via the release event. Releases created by release-please use GITHUB_TOKEN and do not fire that event, so nothing is published twice.
    • The file name stays publish.yml so npm trusted publishing can be bound to it.
    • workflow_dispatch is a dry run by default; unchecking dry-run now actually publishes (useful as a fallback).
  • release-please starts from 0.2.1, which was released by hand, and CHANGELOG.md is seeded with 0.2.0 and 0.2.1. feat and breaking changes bump the minor while below 1.0.
  • Actions bumped to checkout@v7 / setup-node@v7 / release-please-action@v5 (Node 24 runtime, removes the Node 20 deprecation warning).

Needed once in the repository settings

  • Settings → Actions → General → Workflow permissions: enable "Allow GitHub Actions to create and approve pull requests", otherwise release-please cannot open its PR.

Notes

  • PRs opened by release-please with GITHUB_TOKEN do not trigger CI. The release PR only touches version/changelog files, and the publish job runs npm run check again before publishing.

Test plan

  • npm run check passes locally
  • actionlint passes on both workflows
  • CI is green on this PR
  • After merge: the Release workflow runs release-please without opening a PR (only ci: commits since v0.2.1)

🤖 Generated with Claude Code

CI runs `npm run check` (typecheck, build, tests, pack dry-run) on Node 20,
22, and 24 for every pull request and push to main.

The publish workflow now also runs release-please on pushes to main. It keeps
a release PR open; merging it tags vX.Y.Z, creates the GitHub Release, and
publishes to npm in the same run. Hand-made releases still publish through
the `release` event. The file name stays the same so npm trusted publishing
can be bound to it.

The manifest starts at 0.2.1, which was released by hand, and CHANGELOG.md is
seeded with 0.2.0 and 0.2.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T11:18:03.471947Z b3c7589 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@eiserv
eiserv merged commit bb2d2e5 into main Oct 12, 2026
3 checks passed
@nickolep
nickolep deleted the claude/typecheck-cicd-pipelines-d23e03 branch October 28, 2026 09:57
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.

2 participants