Skip to content

Commit a4d61d1

Browse files
authored
infra!: support Node 22 (LTS); drop 18 (#2975)
1 parent f211f08 commit a4d61d1

File tree

28 files changed

+61
-61
lines changed

28 files changed

+61
-61
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ updates:
99
ignore:
1010
- dependency-name: '@types/node'
1111
versions:
12-
- '>=13'
12+
- '>=21'

.github/workflows/next.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
- name: Use Node.js 18
10+
- name: Use Node.js 22
1111
uses: actions/setup-node@v4
1212
with:
13-
node-version: 18
13+
node-version: 22
1414
registry-url: 'https://registry.npmjs.org/'
1515
cache: npm
1616
- run: npm ci

.github/workflows/npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
- name: Use Node.js 20
10+
- name: Use Node.js 22
1111
uses: actions/setup-node@v4
1212
with:
13-
node-version: 20
13+
node-version: 22
1414
registry-url: 'https://registry.npmjs.org/'
1515
cache: npm
1616
- run: npm ci

.github/workflows/publish-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Use Node.js 18
13+
- name: Use Node.js 22
1414
uses: actions/setup-node@v4
1515
with:
16-
node-version: 18
16+
node-version: 22
1717
registry-url: 'https://registry.npmjs.org/'
1818
cache: npm
1919
- run: npm ci

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
node-version: [20, 18]
11+
node-version: [22, 20]
1212
os: [ubuntu-latest, windows-latest, macOS-latest]
1313
steps:
1414
- uses: actions/checkout@v4

package-lock.json

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@types/lodash.upperfirst": "^4.3.9",
3939
"@types/mime": "^3.0.4",
4040
"@types/mocha": "^10.0.9",
41-
"@types/node": "18",
41+
"@types/node": "20",
4242
"@types/postcss-safe-parser": "^5.0.4",
4343
"@types/react": "^18.3.12",
4444
"@types/react-dom": "^18.3.1",
@@ -82,7 +82,7 @@
8282
"yargs": "^17.7.2"
8383
},
8484
"engines": {
85-
"node": ">=18.12.0"
85+
"node": ">=20"
8686
},
8787
"repository": "[email protected]:wix/stylable.git",
8888
"author": "Wix.com",

packages/build-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"!*/tsconfig.{json,tsbuildinfo}"
1818
],
1919
"engines": {
20-
"node": ">=18.12.0"
20+
"node": ">=20"
2121
},
2222
"publishConfig": {
2323
"access": "public"

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"!*/tsconfig.{json,tsbuildinfo}"
3838
],
3939
"engines": {
40-
"node": ">=18.12.0"
40+
"node": ">=20"
4141
},
4242
"publishConfig": {
4343
"access": "public"

packages/code-formatter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"!*/tsconfig.{json,tsbuildinfo}"
2020
],
2121
"engines": {
22-
"node": ">=18.12.0"
22+
"node": ">=20"
2323
},
2424
"publishConfig": {
2525
"access": "public"

0 commit comments

Comments
 (0)