Skip to content

Commit 4429c41

Browse files
authored
Align supported Node.js engines field with dependency requirements (#231)
1 parent 7b9adb1 commit 4429c41

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

.github/workflows/buildtest.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414

15+
strategy:
16+
matrix:
17+
node-version: [18.x, 20.x, 22.x]
18+
1519
steps:
1620
- uses: actions/checkout@v4
17-
- name: Use Node.js 16.15
21+
- name: Use Node.js ${{ matrix.node-version }}
1822
uses: actions/setup-node@v4
1923
with:
20-
node-version: 16.15
24+
node-version: ${{ matrix.node-version }}
2125
cache: 'npm'
2226
registry-url: 'https://npm.pkg.github.com'
23-
- run: npm ci
27+
- run: npm ci --engine-strict
2428
env:
2529
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2630
- run: npm run format-check -ws
@@ -33,10 +37,10 @@ jobs:
3337

3438
steps:
3539
- uses: actions/checkout@v4
36-
- name: Use Node.js 16.15
40+
- name: Use Node.js 22.x
3741
uses: actions/setup-node@v4
3842
with:
39-
node-version: 16.15
43+
node-version: 22.x
4044
cache: 'npm'
4145
registry-url: 'https://npm.pkg.github.com'
4246
- run: npm ci

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
- uses: actions/setup-node@v4
7171
with:
72-
node-version: 16.x
72+
node-version: 22.x
7373
cache: "npm"
7474
scope: '@actions'
7575

expressions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"watch": "tsc --build tsconfig.build.json --watch"
4545
},
4646
"engines": {
47-
"node": ">= 16.15"
47+
"node": ">= 18"
4848
},
4949
"files": [
5050
"dist/**/*"

languageserver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"yaml": "^2.1.3"
5353
},
5454
"engines": {
55-
"node": ">= 16.15"
55+
"node": ">= 18"
5656
},
5757
"files": [
5858
"dist/**/*"

languageservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"yaml": "^2.1.1"
5656
},
5757
"engines": {
58-
"node": ">= 16.15"
58+
"node": ">= 18"
5959
},
6060
"files": [
6161
"dist/**/*"

workflow-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"yaml": "^2.0.0-8"
5454
},
5555
"engines": {
56-
"node": ">= 16.15"
56+
"node": ">= 18"
5757
},
5858
"files": [
5959
"dist/**/*"

0 commit comments

Comments
 (0)