Skip to content

one-dispatch-publishes-to-both-channels: npm is published from the same dispatch as the Marketplace - #873

Merged
VeryComplexAndLongName merged 1 commit into
mainfrom
one-dispatch-publishes-to-npm-and-marketplace
Oct 10, 2026
Merged

VeryComplexAndLongName merged 1 commit into
mainfrom
one-dispatch-publishes-to-npm-and-marketplace

Conversation

@VeryComplexAndLongName

Copy link
Copy Markdown
Owner

What

  • .github/workflows/publish.yml replaces publish-marketplace.yml: one workflow_dispatch with vscode_version, cli_version and confirm; an empty version skips its channel; both publishing jobs need the confirm job.
  • npm is published by Trusted Publishing (environment: npm, id-token: write, no token), only from main, only for the version packages/cli/package.json states and that is not yet on the registry. The pinned npm builds; npm@11.5.1 is installed for the publish step alone.
  • scripts/check-publish-workflow.mjs and its tests guard both channels.
  • ADR-0048, OpenSpec change one-dispatch-publishes-to-both-channels, README and changeset README corrected.

Before the first dispatch (owner's, tasks 4.5 and 4.6)

  • The trusted publisher on npmjs.com names publish.yml and the npm environment.
  • The npm environment exists in the repository settings.

No package behaviour changes, so no changeset. Nothing here publishes anything.

🤖 Generated with Claude Code

…me dispatch as the Marketplace

publish.yml replaces publish-marketplace.yml: one workflow_dispatch that takes
vscode_version, cli_version and a typed confirmation, and publishes each
channel only when its version is named. npm is authenticated by Trusted
Publishing (no token), from main only, for the version packages/cli states
and that is not yet on the registry. check-publish-workflow guards both
channels. Records ADR-0048.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@VeryComplexAndLongName
VeryComplexAndLongName merged commit 80f46b0 into main Oct 10, 2026
10 checks passed
@VeryComplexAndLongName
VeryComplexAndLongName deleted the one-dispatch-publishes-to-npm-and-marketplace branch October 10, 2026 14:15
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