Skip to content

Commit f7ebc36

Browse files
committed
chore: Require Node 22.
1 parent c46c7f6 commit f7ebc36

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Node.js
4444
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
4545
with:
46-
node-version: '18'
46+
node-version: '22'
4747
cache: 'yarn'
4848
registry-url: 'https://registry.npmjs.org/'
4949

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 16.x
20+
node-version: 22.x
2121
cache: 'yarn'
2222

2323
- run: yarn install
@@ -56,7 +56,7 @@ jobs:
5656

5757
- uses: actions/setup-node@v3
5858
with:
59-
node-version: 16.x
59+
node-version: 22.x
6060
cache: 'yarn'
6161

6262
- name: Set package version from git tag

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
- uses: actions/checkout@v2
88
- uses: actions/setup-node@v4
99
with:
10-
node-version: 20.x
10+
node-version: 22.x
1111
- uses: actions/setup-python@v2
1212
with:
1313
python-version: 3.8.12

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"license": "MIT",
2323
"engines": {
24-
"node": ">=18.0.0"
24+
"node": ">=22.0.0"
2525
},
2626
"scripts": {
2727
"compile:cli": "esbuild bin/cli.ts --bundle --platform=node --external:pg-native --external:aws-sdk --external:mock-aws-s3 --external:nock --external:ssh2 --external:cpu-features --outfile=dist/cli.js",

packages/sql-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"LICENSE"
1919
],
2020
"engines": {
21-
"node": ">=0.8.0"
21+
"node": ">=22.0.0"
2222
},
2323
"devDependencies": {
2424
"jest": "^26.0.1"

packages/sqlint/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"autofix",
2222
"beautify"
2323
],
24+
"engines": {
25+
"node": ">=22.0.0"
26+
},
2427
"bugs": {
2528
"url": "https://github.com/joe-re/sql-language-server/issues"
2629
},

0 commit comments

Comments
 (0)