Skip to content

ci: verify dist/ bundle is up to date on pull requests - #218

Merged
lampajr merged 1 commit into
kiegroup:mainfrom
lampajr:fix_
Jul 25, 2026
Merged

ci: verify dist/ bundle is up to date on pull requests#218
lampajr merged 1 commit into
kiegroup:mainfrom
lampajr:fix_

Conversation

@lampajr

@lampajr lampajr commented Jul 25, 2026

Copy link
Copy Markdown
Member

Description

Rebuilds the bundle with a clean lockfile install and fails if dist/ drifts, preventing a stale/mismatched bundle from being merged.

Checklist

  • Tests added if applicable.
  • Documentation updated if applicable.

Merge criteria:

  • The commits and have meaningful messages; the author will squash them after approval or will ask to merge with squash.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

Note: dist/cli/index.js and dist/gha/index.js are automatically generated by git hooks and gh workflows.

First time here?

This project follows git conventional commits pattern, therefore the commits should have the following format:

<type>(<optional scope>): <subject>
empty separator line
<optional body>
empty separator line
<optional footer>

Where the type must be one of [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test]

NOTE: if you are still in a work in progress branch and you want to push your changes remotely, consider adding --no-verify for both commit and push, e.g., git push origin <feat-branch> --no-verify - this could become useful to push changes where there are still tests failures. Once the pull request is ready, please amend the commit and force-push it to keep following the adopted git commit standard.

How to prepare for a new release?

There is no need to manually update package.json version and CHANGELOG.md information. This process has been automated in Prepare Release Github workflow.

Therefore whenever enough changes are merged into the main branch, one of the maintainers will trigger this workflow that will automatically update version and changelog based on the commits on the git tree.

More details can be found in package release section of the README.

Rebuilds the bundle with a clean lockfile install and fails if dist/
drifts, preventing a stale/mismatched bundle from being merged.
@github-actions

Copy link
Copy Markdown
Contributor

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 89.39% 573/641
🟢 Branches 85% 272/320
🟢 Functions 87.66% 135/154
🟢 Lines 89.21% 554/621

Test suite run success

220 tests passing in 18 suites.

Report generated by 🧪jest coverage report action from 21324ce

@lampajr
lampajr merged commit aaf96bd into kiegroup:main Jul 25, 2026
7 checks passed
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.

1 participant