Uh oh!
There was an error while loading. Please reload this page.
feat: add changeset validation and release workflow - #5680
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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:
|
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