Skip to content

Commit e83a79f

Browse files
committed
chore: align tree-sitter versions in package and CI
Pin the GitHub Actions tree-sitter CLI to v0.26.3 so parser generation matches the version declared in the package metadata. Update the tree-sitter peer dependency to ^0.26.3, refresh the lockfile, and regenerate src/parser.c. Include package.json, package-lock.json, and .nvmrc in the CI path filters so toolchain-only changes still trigger the workflow.
1 parent 42edf1a commit e83a79f

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- test/**
99
- bindings/**
1010
- binding.gyp
11+
- package.json
12+
- package-lock.json
13+
- .nvmrc
1114
- .github/workflows/**
1215
pull_request:
1316
paths:
@@ -16,6 +19,9 @@ on:
1619
- test/**
1720
- bindings/**
1821
- binding.gyp
22+
- package.json
23+
- package-lock.json
24+
- .nvmrc
1925
- .github/workflows/**
2026

2127
concurrency:
@@ -36,6 +42,8 @@ jobs:
3642

3743
- name: Set up tree-sitter
3844
uses: tree-sitter/setup-action/cli@v2
45+
with:
46+
tree-sitter-ref: v0.26.3
3947

4048
- name: Run tests
4149
uses: tree-sitter/parser-test-action@v2

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/parser.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)