Skip to content

ci: add automated prerelease publishing - #1

Merged
kauandotnet merged 1 commit into
mainfrom
agent/align-release-automation
Jul 30, 2026
Merged

ci: add automated prerelease publishing#1
kauandotnet merged 1 commit into
mainfrom
agent/align-release-automation

Conversation

@kauandotnet

Copy link
Copy Markdown
Contributor

Summary

  • align the repository with nestm-dev/better-auth on pnpm 11.18.0, Node 22/24 CI, and exact shared tool versions
  • add Changesets prerelease management for the alpha channel
  • add tokenless npm Trusted Publishing through GitHub OIDC, with required provenance
  • add package validation, Nest canary/peer smoke checks, manual preview publishing, and Dependabot
  • document the one-time npm bootstrap and trusted-publisher handoff

Verification

  • pnpm install --frozen-lockfile
  • pnpm run check
  • pnpm run test (16 unit + 5 E2E)
  • pnpm run verify:pack
  • pnpm dlx @arethetypeswrong/cli --pack . --profile esm-only
  • actionlint
  • pnpm audit --audit-level high --prod
  • simulated pnpm changeset version in an isolated worktree (0.1.0-alpha.00.1.0-alpha.1)

One-time maintainer handoff

After this PR is merged, 0.1.0-alpha.0 must be published interactively once because npm does not allow configuring a trusted publisher for a package that does not exist. Then bind @nestm/nestjs-standard-schema to release.yml / the release environment. Subsequent releases require no npm token.

@kauandotnet
kauandotnet marked this pull request as ready for review July 30, 2026 16:43
@kauandotnet
kauandotnet merged commit ed9150d into main Jul 30, 2026
6 checks passed
@kauandotnet
kauandotnet deleted the agent/align-release-automation branch July 30, 2026 16: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