Skip to content

ci: add changesets-driven release workflow#672

Merged
alexander-akait merged 1 commit intomainfrom
claude/test-multi-asset-minify-acmUW
May 8, 2026
Merged

ci: add changesets-driven release workflow#672
alexander-akait merged 1 commit intomainfrom
claude/test-multi-asset-minify-acmUW

Conversation

@alexander-akait
Copy link
Copy Markdown
Member

Summary

Mirrors the changesets setup from webpack/webpack-dev-middleware:

  • .changeset/config.json, README.md, changelog-generator.mjs (links commits/PRs/users back to GitHub; supports pr: / commit: / author: overrides in changeset summaries).
  • .github/workflows/release.yml runs changesets/action@v1.7.0 on pushes to main. It opens or updates a release PR; merging that PR re-triggers the workflow which then runs npm run release (build + changeset publish).
  • package.json: version -> changeset version, release -> npm run build && changeset publish. Adds @changesets/cli and @changesets/get-github-info. Drops the now-unused standard-version.

Test plan

  • node_modules/.bin/changeset status runs against the new config (correctly errors that there are pending changes without a changeset).
  • node_modules/.bin/jest — full suite (266 tests) still green.
  • Workflow itself can only be exercised once merged; the gating if: github.repository == 'webpack/terser-webpack-plugin' keeps it inert on forks.

https://claude.ai/code/session_01Wa5WuhunnggPcf7DLrx6Ri


Generated by Claude Code

Mirrors the setup in webpack/webpack-dev-middleware:

- `.changeset/` with `config.json`, README and a `changelog-generator.mjs`
  that links commits/PRs/users back to GitHub.
- `.github/workflows/release.yml` runs `changesets/action` on pushes to
  `main`. It opens (or updates) a release PR; merging the PR triggers
  the same workflow which then runs `npm run release` to build and
  `changeset publish` to npm.
- `package.json`: `version` -> `changeset version`, `release` -> build +
  `changeset publish`. Adds `@changesets/cli` and
  `@changesets/get-github-info`. Drops `standard-version` since the
  changesets flow replaces it.

https://claude.ai/code/session_01Wa5WuhunnggPcf7DLrx6Ri
@linux-foundation-easycla
Copy link
Copy Markdown

CLA Not Signed

@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.11%. Comparing base (9b82a77) to head (cf34b19).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #672   +/-   ##
=======================================
  Coverage   96.11%   96.11%           
=======================================
  Files           3        3           
  Lines         592      592           
  Branches      203      203           
=======================================
  Hits          569      569           
  Misses         21       21           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@alexander-akait alexander-akait merged commit 2bfd4f8 into main May 8, 2026
28 of 29 checks passed
@alexander-akait alexander-akait deleted the claude/test-multi-asset-minify-acmUW branch May 8, 2026 13:43
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.

2 participants