feat: add changeset validation and release workflow#5680
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a Changesets-based release process for webpack-dev-server, adds CI validation for changeset files, and wires up an automated release workflow that opens release PRs and publishes to npm from main.
Changes:
- Add Changesets tooling/config (config, changelog generator, and initial changeset) and a changeset validation script.
- Add a GitHub Actions
Releaseworkflow usingchangesets/actionand update CI lint workflow to validate changeset format on PRs. - Update project metadata/docs: add new npm scripts/dependencies, remove
standard-version, and document changesets inCONTRIBUTING.md.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds changeset tooling + validation script; removes standard-version release script/dependency. |
| CONTRIBUTING.md | Documents when/how to add changesets and how releases are produced. |
| .github/workflows/release.yml | Adds CI release workflow using changesets/action on pushes to main. |
| .github/workflows/nodejs.yml | Adds a PR-only step to validate changeset frontmatter format. |
| .github/dependabot.yml | Adds Dependabot updates for GitHub Actions. |
| .changeset/README.md | Adds Changesets-generated README for contributor context. |
| .changeset/fix-hmr-skip-user-proxy-upgrade.md | Adds a patch changeset entry for an existing behavior change. |
| .changeset/config.json | Adds Changesets configuration (base branch, changelog generator, etc.). |
| .changeset/changeset-validate.mjs | Adds a script to validate changeset frontmatter entries in PRs/local changes. |
| .changeset/changelog-generator.mjs | Adds a custom changelog generator integrating GitHub PR/commit/user links. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5680 +/- ##
=======================================
Coverage 83.61% 83.61%
=======================================
Files 13 13
Lines 2087 2087
Branches 774 775 +1
=======================================
Hits 1745 1745
Misses 306 306
Partials 36 36 ☔ 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.
Summary
What kind of change does this PR introduce?
Did you add tests for your changes?
Does this PR introduce a breaking change?
If relevant, what needs to be documented once your changes are merged or what have you already documented?
Use of AI