Commit Graph
2 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 9970922b74 ci(kits): publish to npm from GitLab.com on a release tag (#6)
* ci(kits): publish to npm from GitLab.com on a release tag

npm's trusted publishing (no stored npm token) accepts only GitHub Actions,
GitLab.com shared runners and CircleCI cloud. GitHub Actions has been off for
the bitbaum org since 2026-11-15 and Gitea's runners are self-hosted, so every
release needed an npm sign-in and a security key on the laptop.

- .gitlab-ci.yml: on `<folder>-v<version>`, check the version matches, pack
  with pnpm (workspace ranges written in), publish the tarball with npm.
- scripts/release.sh: bump, verify, commit, tag, push to origin and gitlab;
  no npm login.
- scripts/trust-gitlab.sh: once per package, trust the GitLab job.

Provenance stays off until package.json `repository` names the project that
builds it.

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

* ci(kits): trust a package at its first GitLab release (npm drops unused trusts after 2 days)

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:28:40 +01:00
CatoandClaude Opus 5.5 cab5d1f9ba feat(kits): one check per change and a one-command release
- .gitea/workflows/check.yml: on PR/push, verify the touched packages and
  their dependents, on the laptop runner.
- scripts/release.sh: bump, verify package + dependents, tag, npm publish,
  push; --pending lists versions npm does not have.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:43:40 +01:00