Skip to content

chore: make CI build-and-test only#765

Open
alex-kobozev-tw wants to merge 3 commits into
mainfrom
feature/alexanderkobozev/sc-140405-strip-publication
Open

chore: make CI build-and-test only#765
alex-kobozev-tw wants to merge 3 commits into
mainfrom
feature/alexanderkobozev/sc-140405-strip-publication

Conversation

@alex-kobozev-tw

@alex-kobozev-tw alex-kobozev-tw commented Jun 3, 2026

Copy link
Copy Markdown

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.yml

  • Runs on pull_request, push to main, and manual dispatch (previously manual-only — there was no PR CI).
  • Steps: install dependencies → build packages → test.
  • permissions: contents: read; no tokens or secrets required.
  • Removed the version-resolution, packaging-publish, and release-creation steps.
  • Pinned GitHub Actions to commit SHAs.

Notes

  • The required status check name changes to Build & Test — update any branch-protection rule that referenced the previous check name.
  • lint is not part of CI yet; can be added in a follow-up.

alex-kobozev-tw and others added 2 commits June 3, 2026 17:44
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>
@alex-kobozev-tw alex-kobozev-tw changed the title chore: strip publication from CI — move to releases repo (sc-140405) chore: make CI build-and-test only Jun 4, 2026
@alex-kobozev-tw alex-kobozev-tw requested review from Copilot and mternovtsiTW and removed request for Copilot June 4, 2026 07:28

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.

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, push to main, and workflow_dispatch.
  • Removes version resolution, package publishing, and GitHub Release creation steps.
  • Restricts workflow token permissions to contents: read and pins Actions to commit SHAs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/build.yml
Comment thread .github/workflows/build.yml Outdated
- 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>
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.

3 participants