Skip to content

Commit d264c62

Browse files
committed
build: bump support to nodejs 20.x
1 parent c757ec9 commit d264c62

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/workflows/chromatic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
with:
4949
# pulls all commits (needed for chromatic to find baselines)
5050
fetch-depth: '0'
51-
- name: Use Node.js 18.x
51+
- name: Use Node.js 20
5252
uses: actions/setup-node@v4
5353
with:
54-
node-version: 18.x
54+
node-version: 20
5555
cache: 'npm'
5656
- name: Install dependencies
5757
run: npm ci

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
# pulls all commits (needed for lerna / semantic release to correctly version)
3333
fetch-depth: '0'
3434

35-
- name: Use Node.js 18.x
35+
- name: Use Node.js 20
3636
uses: actions/setup-node@v4
3737
with:
38-
node-version: 18.x
38+
node-version: 20
3939
cache: 'npm'
4040

4141
- run: npm -v

.github/workflows/tests.yml

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

2121
strategy:
2222
matrix:
23-
node-version: [18.x]
23+
node-version: [20]
2424

2525
steps:
2626
- uses: actions/checkout@v4
@@ -39,7 +39,7 @@ jobs:
3939

4040
strategy:
4141
matrix:
42-
node-version: [18.x]
42+
node-version: [20]
4343

4444
steps:
4545
- uses: actions/checkout@v4

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.16
1+
20.9

package-lock.json

Lines changed: 2 additions & 2 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
@@ -52,8 +52,8 @@
5252
"postinstall": "npm run bootstrap"
5353
},
5454
"engines": {
55-
"node": ">=18.16.0 <19",
56-
"npm": ">=9.5.0 < 10"
55+
"node": ">=20.9 <21",
56+
"npm": ">=10.1 < 11"
5757
},
5858
"dependencies": {
5959
"lit": "^2.7.6"

0 commit comments

Comments
 (0)