Skip to content

ci: a one-off workflow for the first publish of cli, ingest and the stores - #483

Merged
anurag629 merged 1 commit into
devfrom
ci/first-publish
Oct 30, 2026
Merged

anurag629 merged 1 commit into
devfrom
ci/first-publish

Conversation

@anurag629

Copy link
Copy Markdown
Member

cli, ingest and the five stores were versioned in v0.8 (0.1.0 and 0.2.0) but are still private and not on npm. Trusted publishing can only be set up for a package that already exists, so their first publish needs a token. Publishing them locally needs an authenticator code each time, so this does it once in CI instead.

  • Started by hand (workflow_dispatch). It checks out the v0.8 release commit (b456c36), so they're published as they were released and depend on core 0.6.0 and server 0.7.0.
  • It publishes only those seven, skips any already on npm, drops their private flag for the publish only, and adds npm provenance.
  • NPM_TOKEN is a short-lived token for the @chatcops scope, set as a repo secret. Nothing else uses it.

After the run: trusted publishing for the seven, a PR that removes this workflow, and the PR that drops their private flags on dev.

@anurag629
anurag629 merged commit ba661de into dev Oct 30, 2026
5 checks passed
@anurag629
anurag629 deleted the ci/first-publish branch October 30, 2026 16:07
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