Skip to content

ci: publish to npm through trusted publishing - #608

Merged
Dave3130 merged 1 commit into
browserstack:mainfrom
SavioBS629:ci/npm-trusted-publishing
Nov 26, 2026
Merged

Dave3130 merged 1 commit into
browserstack:mainfrom
SavioBS629:ci/npm-trusted-publishing

Conversation

@SavioBS629

Copy link
Copy Markdown
Collaborator

Publish to npm through trusted publishing (OIDC) instead of an npm token.

  • New .github/workflows/publish.yml builds and runs npm publish with OIDC. Inputs: ref, version, tag (latest, beta or tp-canary).
  • npm-publish.yml (Release New Version) and beta-release.yml (Beta Release) dispatch publish.yml and wait for it to finish, in place of their own npm publish.
  • NPM_TOKEN and registry-url are no longer used.

Requires @browserstack/mcp-server to have browserstack/mcp-server / publish.yml registered as its trusted publisher on npm.

🤖 Generated with Claude Code

Add publish.yml, which publishes with OIDC and no token. The release
and beta workflows dispatch it and wait for the run instead of
publishing with NPM_TOKEN.

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

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto (fallback from Default branch)
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited), Workspace UI (inherited); Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Enterprise
  • Run ID: 668c9c60-e3e1-4803-a73e-8ba65873ae5b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Dave3130
Dave3130 merged commit d4b0bda into browserstack:main Nov 26, 2026
3 checks passed
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.

2 participants