Skip to content

chore(deps): Update tree-sitter dependency to a version supporting Node 18.x..23.x #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Mar 4, 2025
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
8 changes: 5 additions & 3 deletions .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: mymindstorm/setup-emsdk@v14
with:
# See https://github.com/tree-sitter/tree-sitter/blob/master/cli/emscripten-version
version: 2.0.24
# See https://github.com/tree-sitter/tree-sitter/blob/v0.24.6/cli/loader/emscripten-version
# (choose the Git tag that corresponds to the version of web-tree-sitter specified in package.json)
# Should be kept in sync with .github/workflows/test-javascript.yml
version: 3.1.64
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm ci
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- macos-latest
- ubuntu-latest
- windows-latest
node-version: ['18.x']
node-version: ['18.x', '20.x', '22.x', '23.x']

steps:
- name: set git core.autocrlf to 'input'
Expand All @@ -29,8 +29,10 @@ jobs:
- uses: mymindstorm/setup-emsdk@v14
if: ${{ matrix.os != 'windows-latest' }}
with:
# See https://github.com/tree-sitter/tree-sitter/blob/master/cli/emscripten-version
version: 2.0.24
# See https://github.com/tree-sitter/tree-sitter/blob/v0.24.6/cli/loader/emscripten-version
# (choose the Git tag that corresponds to the version of web-tree-sitter specified in package.json)
# Should be kept in sync with .github/workflows/release-npm.yml
version: 3.1.64
- name: with Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v4
with:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Added
- Added support for Node versions 20, 22 and 23 ([#235](https://github.com/cucumber/language-service/pull/235))
- (Javascript) Support for compiled cjs style step definitions ([#222](https://github.com/cucumber/language-service/pull/222))
- Exposed `buildSuggestionFromCucumberExpression` and `buildSuggestionsFromRegularExpression` in `index.ts` ([#227](https://github.com/cucumber/language-service/pull/227))

Expand Down
Loading