feat(release)!: replace release workflow with publish action - #536
Merged
Merged
Conversation
Publish CI-produced package tarballs from a composite action so callers can control validation and GitHub release ordering in their own jobs. Add Linux and Windows dry-run coverage, pin ci-github-publish to 0.29.0, and document setup, release planning, authentication, and recovery. BREAKING CHANGE: remove .github/workflows/release.yml. Callers must use actions/publish in a job, set runner and permissions on that job, pass github-token as an action input, and quote boolean inputs as strings.
Contributor
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
Contributor
|
Code Coverage Report Coverage ResultsCoverage
Overall: 100.00% 🟢 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #536 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 3 3
=========================================
Hits 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Package publication currently requires a reusable workflow job. Replace it with
actions/publishso consumers can run package checks, publish the validated tarball, and create a GitHub release in the order their project needs.Changes
npm publishwith registry, access, tag, provenance, and dry-run options.ci-github-publishto the verified0.29.0commit and use itshas-changesoutput in the documented release workflow.Breaking change and migration
.github/workflows/release.ymlis removed. Existing callers must move publication into a job usinghoverkraft-tech/ci-github-nodejs/actions/publish:runs-onand permissions on the caller job.provenanceanddry-runas strings.github-tokenthrough the action input instead of a reusable-workflow secret.ci-github-publishrelease actions when GitHub release orchestration is needed.The release guide and Publish action README include the migration and authentication details.
Validation
actionlintpassed for the changed workflows and the complete workflow in the release guide.The new Ubuntu/Windows integration matrix will run in PR CI; it was not executed locally.