Skip to content
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

chore(deps): Update tree-sitter dependencies to versions supporting Node 20 #235

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
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', '24.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
Loading
Loading