mirror of
https://github.com/bitbaum/kits.git
synced 2026-12-05 07:07:27 +01:00
* 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>