Skip to content

ci: use npm stage publish - #108

Merged
riderx merged 1 commit into
plusfrom
ci/npm-stage-publish
Aug 20, 2026
Merged

ci: use npm stage publish#108
riderx merged 1 commit into
plusfrom
ci/npm-stage-publish

Conversation

@riderx

@riderx riderx commented Aug 20, 2026

Copy link
Copy Markdown
Member

What

  • Switch production and PR beta publishes from npm publish to npm stage publish for @capacitor-plus/*.

Why

  • npm no longer allows long-lived unattended publish tokens.

How

  • CI stages core/cli/android/ios with the org NPM_TOKEN.
  • Drop the pr-N dist-tag from beta comments.

Testing

  • Workflow-only. Same stage flow as the Cap-go plugins.

Not Tested

  • A live tagged release or /publish-beta on this repo.

Made with Cursor


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Review in cubic

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

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

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: eb25bc67-5361-44be-bc53-a26b77e475c0

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

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Beta npm build

Maintainers can publish one Capacitor Plus workspace package from this PR to npm for fast testing.

Comment /publish-beta <package> after the PR checks are green.

Examples:

/publish-beta core
/publish-beta cli
/publish-beta @capacitor-plus/core

If exactly one workspace package changed, /publish-beta without a package will use that package.

Packages:

  • core (@capacitor-plus/core)
  • cli (@capacitor-plus/cli)
  • android (@capacitor-plus/android)
  • ios (@capacitor-plus/ios)

The workflow will:

  • publish a prerelease package on the beta tag
  • add a pinned pr-108 dist-tag for the selected package
  • update this comment with the install command

Security note: beta publish is only enabled for branches inside this repository.

@riderx
riderx marked this pull request as ready for review August 20, 2026 15:52
@riderx
riderx merged commit 63142b5 into plus Aug 20, 2026
11 of 12 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.

1 participant