Skip to content

Commit 5253c6e

Browse files
authored
Merge pull request #1368 from bash-lsp/update-node-version
Update to maintained node version
2 parents 86652f1 + 13a26c2 commit 5253c6e

9 files changed

Lines changed: 60 additions & 54 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020

2121
- uses: pnpm/action-setup@v4
2222
with:
23-
version: 9
23+
version: 10
2424

2525
- uses: actions/setup-node@v4
2626
with:
27-
node-version: 20
27+
node-version: 22
2828
registry-url: https://registry.npmjs.org/
2929
cache: "pnpm"
3030

@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: Deploy server
3737
run: bash scripts/release-server.sh
38-
38+
3939

4040
- name: Deploy VS Code extension
4141
run: bash scripts/release-client.sh

.github/workflows/upgrade-tree-sitter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313

1414
- uses: pnpm/action-setup@v4
1515
with:
16-
version: 9
16+
version: 10
1717

1818
- uses: actions/setup-node@v4
1919
with:
20-
node-version: 20
20+
node-version: 22
2121
cache: "pnpm"
2222

2323
- run: pnpm install --frozen-lockfile

.github/workflows/verify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [18.x, 20.x]
12+
node-version: [20.x, 22.x]
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: pnpm/action-setup@v4
2121
with:
22-
version: 9
22+
version: 10
2323

2424
- name: Use Node.js ${{ matrix.node-version }}
2525
uses: actions/setup-node@v4
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Publish coverage to codecov.io
3636
uses: codecov/codecov-action@v5
37-
if: success() && matrix.node-version == '20.x'
37+
if: success() && matrix.node-version == '22.x'
3838
with:
3939
token: ${{ secrets.CODECOV_TOKEN }}
4040
files: ./codecov.yml

.tool-versions

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
nodejs 18.20.8
1+
nodejs 22.16.0
2+
pnpm 10.12.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To verify that everything is working:
6262
bash-language-server --help
6363
```
6464

65-
If you encounter installation errors, ensure you have node version 16 or newer (`node --version`).
65+
If you encounter installation errors, ensure you have node version 20 or newer (`node --version`).
6666

6767
### Clients
6868

docs/development-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ convenience - it proxies to the `package.json` files in the `vscode-client` and
1616
This guide presumes you have the following dependencies installed:
1717

1818
- [`pnpm`][pnpm].
19-
- [`node`][node] (v16 or newer)
19+
- [`node`][node] (v20 or newer)
2020

2121
## Initial setup
2222

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"devDependencies": {
2020
"@types/jest": "29.5.14",
21-
"@types/node": "18.19.130",
21+
"@types/node": "22.15.29",
2222
"@typescript-eslint/eslint-plugin": "7.18.0",
2323
"@typescript-eslint/parser": "7.18.0",
2424
"cross-spawn": ">=7.0.5",
@@ -39,8 +39,8 @@
3939
"@types/vscode": "1.106.1"
4040
},
4141
"engines": {
42-
"node": ">=16",
43-
"pnpm": ">=9.x"
42+
"node": ">=20",
43+
"pnpm": ">=10"
4444
},
4545
"jest": {
4646
"preset": "ts-jest",

0 commit comments

Comments
 (0)