Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,23 @@ jobs:
- name: Build bundles
run: npm run build

- name: Verify bundle/ directory is up to date
- name: Verify bundle/ directories are up to date
# Regression guard for every shipped bundle, not just claude-code's.
# `npm run build` regenerates all of these from src/; if a PR
# forgets to commit the regenerated artefact the diff is non-empty
# and CI fails. openclaw/dist/ is gitignored (see "Build" step's
# comment about ENOENT on a fresh checkout) so it's intentionally
# not in this list — the test suite already exercises its content.
run: |
git diff --exit-code claude-code/bundle/ || {
echo "::error::bundle/ is out of date. Run 'npm run build' and commit the bundle/ directory."
git diff --exit-code \
bundle/ \
claude-code/bundle/ \
codex/bundle/ \
cursor/bundle/ \
hermes/bundle/ \
mcp/bundle/ \
pi/bundle/ || {
echo "::error::A bundle directory is out of date. Run 'npm run build' and commit the regenerated files (the diff above shows which bundle drifted)."
exit 1
}

Expand Down
Loading
Loading