Skip to content

ci(npm): mirror vaultx-cli 1.0.0 to GitHub Packages - #1

Merged
Dijo-404 merged 1 commit into
mainfrom
ci/github-packages
Nov 8, 2026
Merged

Dijo-404 merged 1 commit into
mainfrom
ci/github-packages

Conversation

@Dijo-404

@Dijo-404 Dijo-404 commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a manual publish-github-packages workflow that mirrors the npmjs vaultx-cli@1.0.0 release to GitHub Packages as @dijo-404/vaultx-cli, linked to this repository. Also adds an install note to the README.

GitHub Packages' npm registry only accepts account-scoped names, so the package is renamed. That is the only change: the job asserts every other package.json field matches, and all other files are the npmjs bytes.

What the job checks

  1. The npmjs tarball matches a pinned SHA-256.
  2. Only name differs from the npmjs package.json.
  3. It publishes with GITHUB_TOKEN (packages: write), which links the package to this repo. If the version already exists, it verifies instead of republishing.
  4. The package read back from the registry diffs clean against what was published.
  5. A fresh install with --ignore-scripts runs vaultx --version, which exercises the on-demand release download and SHA-256 check.
  6. The packages API reports the package's repository as Dijo-404/vaultx-cli.

This follows the same pattern as the monolith-cli mirror.

🤖 Generated with Claude Code

GitHub Packages only accepts account-scoped npm names, so the npmjs
release is republished as @dijo-404/vaultx-cli. The manual workflow
verifies the npmjs tarball against a pinned SHA-256, changes only the
name field (asserted), publishes with the workflow token so the package
is linked to this repository, then reads it back, installs it fresh,
runs the launcher end to end, and asserts the repository association.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 8, 2026 16:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@Dijo-404
Dijo-404 merged commit 9810ed0 into main Nov 8, 2026
3 of 4 checks passed
@Dijo-404
Dijo-404 deleted the ci/github-packages branch November 8, 2026 17:02
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