Skip to content

Conversation

@mkistler
Copy link
Contributor

This is a new attempt at a publish/release workflow, created with the help of ChatGPT / Copilot.

I asked for "a workflow for creating and publishing releases of the aep-openapi-linter to npm. I want it to be lightweight but reliable. I want a minimum of extra tooling."

I had to iterate on it quite a bit, but I think the result is simple and reliable. And it is fully documented as a favor to future me and anyone else that needs to create a release for this project.

Copy link
Contributor

Copilot AI left a comment

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 introduces a comprehensive release and publishing workflow for the aep-openapi-linter package. The workflow automates the process of creating releases, tagging versions, and publishing to npm while maintaining simplicity and reliability. The implementation includes thorough documentation and removes previous manual workflow approaches.

Changes:

  • Added automated release preparation script that handles version bumping, branch creation, and validation
  • Implemented two-stage GitHub Actions workflow (auto-tag and release) for automated publishing
  • Added comprehensive release process documentation with clear instructions and workflow descriptions

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
scripts/prepare-release.sh New bash script that automates release branch creation with version bumping, testing, and git operations
package.json Added npm release scripts, files array for publishing, and publishConfig for public access
package-lock.json Updated package name to scoped format and version to 0.5.0, with automatic peer dependency tracking
RELEASING.md New comprehensive documentation covering the complete release process, versioning strategy, and workflow behavior
.github/workflows/release.yaml New workflow that publishes to npm and creates GitHub releases when version tags are pushed
.github/workflows/auto-tag.yaml New workflow that automatically creates git tags when package.json version changes on main
.github/workflows/publish.yml Removed old manual publish workflow (replaced by release.yaml)
.github/workflows/create-release.yml Removed old workflow_dispatch release workflow (replaced by automated approach)

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

Copy link

Copilot AI commented Jan 28, 2026

@mkistler I've opened a new pull request, #81, to work on those changes. Once the pull request is ready, I'll request review from you.

@rambleraptor
Copy link
Member

Can you fix the linter issue?

@mkistler mkistler merged commit 1d782e9 into main Jan 28, 2026
3 checks passed
@mkistler mkistler deleted the mdk/publish-to-npm branch January 28, 2026 17:39
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