chore: make CI build-and-test only#765
Open
alex-kobozev-tw wants to merge 3 commits into
Open
Conversation
Publication (npm + Maven to Nexus / GitHub Packages, GitHub Release) now lives in the private trust-web3-provider-releases repo. This repo's workflow becomes CI-only: build + test on PR/push, with read-only permissions and no tokens. Removed: semantic-release version resolution, npm publish to GitHub Packages, GitHub Release creation, GitHub Packages registry setup, and all write permissions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pin actions/checkout (v4.2.2) and oven-sh/setup-bun (v2.2.0, up from the EOL-node16 v1) to commit SHAs for supply-chain hardening. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR converts the repository’s GitHub Actions workflow from a manual release/publish pipeline into a CI workflow that runs build + tests on PRs and on pushes to main, aligning with the new approach where releases are published via a separate internal pipeline.
Changes:
- Replaces the prior manual “Build Packages” release workflow with a CI workflow that runs on
pull_request,pushtomain, andworkflow_dispatch. - Removes version resolution, package publishing, and GitHub Release creation steps.
- Restricts workflow token permissions to
contents: readand pins Actions to commit SHAs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- pin bun-version for reproducible CI - rewrite docs/PUBLISHING.md to reflect that publishing is handled by a separate release pipeline (this repo is source + CI only) - generalize workflow header comment Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
tomaszczubakTW
approved these changes
Jun 10, 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.
Summary
Converts the repository workflow to build + test only. Release publishing is handled by a separate internal pipeline and is no longer performed from this repository.
Changes to
.github/workflows/build.ymlpull_request,pushtomain, and manual dispatch (previously manual-only — there was no PR CI).permissions: contents: read; no tokens or secrets required.Notes
Build & Test— update any branch-protection rule that referenced the previous check name.lintis not part of CI yet; can be added in a follow-up.