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
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ jobs:

- name: Generate DEPENDENCIES.json
if: github.event_name != 'push'
run: npm ls --json --all --omit=dev > DEPENDENCIES.json 2>/dev/null || true
run: mkdir -p generated && npm ls --json --all --omit=dev > generated/DEPENDENCIES.json 2>/dev/null || true

- name: Push version bump via PR
if: github.event_name != 'push'
Expand All @@ -292,10 +292,10 @@ jobs:
BRANCH="release/v${VERSION}"

# Check if there are version bump changes to push
if git diff --quiet HEAD -- package.json package-lock.json CHANGELOG.md DEPENDENCIES.json; then
if git diff --quiet HEAD -- package.json package-lock.json CHANGELOG.md generated/DEPENDENCIES.json; then
echo "No version bump commit to push — skipping PR"
else
git add package.json package-lock.json CHANGELOG.md DEPENDENCIES.json
git add package.json package-lock.json CHANGELOG.md generated/DEPENDENCIES.json
git commit -m "chore: release v${VERSION}"
git push origin "HEAD:refs/heads/${BRANCH}"
gh pr create \
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ grammars/*.wasm
.claude/codegraph-checked.log
artifacts/
pkg/
DEPENDENCIES.md
generated/DEPENDENCIES.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also add generated/DEPENDENCIES.json since the workflow generates it and it shouldn't be committed locally

Suggested change
generated/DEPENDENCIES.md
generated/DEPENDENCIES.md
generated/DEPENDENCIES.json

generated/DEPENDENCIES.json
Loading