feat: CI build artifacts on PR + report npm version after release - #298
Merged
Conversation
📦 Built Plugin ArtifactBranch: Option A — Install from npm PR tag (recommended)opencode plugin opencode-acp@pr-298 --globalEach push to this PR publishes a new version under the Option B — Install from GitHubopencode plugin "github:ranxianglei/opencode-acp#2026-08-13_pr-build-artifact" --globalOption C — Download artifact
tar xzf opencode-acp-pr298.tgz
cp -r package/dist ~/.cache/opencode/packages/opencode-acp@latest/node_modules/opencode-acp/dist
This comment is automatically updated on each push. |
ranxianglei
force-pushed
the
2026-08-13_pr-build-artifact
branch
from
August 13, 2026 05:46
9c3c881 to
789976c
Compare
ranxianglei
force-pushed
the
2026-08-13_pr-build-artifact
branch
from
August 13, 2026 05:54
789976c to
d944f48
Compare
ranxianglei
force-pushed
the
2026-08-13_pr-build-artifact
branch
from
August 13, 2026 06:50
d944f48 to
6f1c96e
Compare
This was referenced Aug 13, 2026
ranxianglei
added a commit
that referenced
this pull request
Aug 14, 2026
ranxianglei
added a commit
that referenced
this pull request
Aug 14, 2026
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
New GitHub Actions workflow that builds
dist/and uploads an installable artifact on every PR to master.Why
Users have no easy way to test PR changes locally. This workflow:
dist/on each PR (same as the existingbuildjob inci.yml)npm pack— includesdist/,README.md,LICENSE,NOTICEAlso adds
"prepare": "npm run build"topackage.json— enablesopencode plugin "github:ranxianglei/opencode-acp#branch" --globalwhich auto-buildsdist/.Install Options for Testers
Option A — Install from GitHub (recommended):
opencode plugin "github:ranxianglei/opencode-acp#2026-08-13_pr-build-artifact" --globalOption B — Download artifact:
dist/to the plugin cacheFiles Changed
.github/workflows/pr-artifact.yml(new) — workflow definitionpackage.json— addedpreparescriptdevlog/2026-08-13_pr-build-artifact/— REQ.md + WORKLOG.md