Release workflow
eslint-plugin-file-progress-2 no longer uses Changesets.
Releases are published manually from the GitHub Actions Release workflow in .github/workflows/release.yml.
Local preflightโ
Before triggering a release, validate the branch locally:
npm run release:check
That command runs:
npm run checknpm run publint
Triggering a releaseโ
Open Actions โ Release โ Run workflow and provide either:
- a
release_typeofpatch,minor, ormajor, or - an explicit
versioninx.y.zformat
The workflow will:
- validate the requested version input
- verify the package with
npm run release:check - bump
package.jsonandpackage-lock.json - commit and tag
chore: release vX.Y.Z - push the branch commit and tag
- publish to npm with provenance
- create the matching GitHub release
Release notesโ
Release notes are generated from git history with:
npm run changelog:release-notes -- --output temp/release-notes.md --tag vX.Y.Z
The same script is used by the workflow before the GitHub release is created.
Operational notesโ
- The workflow prevents publishing a version that already exists on npm.
- The release commit is created by
github-actions[bot]. - The plugin metadata version is read from
package.json, so the published package and exported metadata stay in sync.