Skip to content

Commit e740a59

Browse files
committed
installation: upgrade node to v20
1 parent 456c726 commit e740a59

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/js-tests.yml

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

2424
strategy:
2525
matrix:
26-
node-version: [18.x]
26+
node-version: [20.x]
2727

2828
steps:
2929
- name: Checkout
@@ -35,7 +35,7 @@ jobs:
3535
node-version: ${{ matrix.node-version }}
3636

3737
- name: Install
38-
run: npm ci
38+
run: npm ci --legacy-peer-deps
3939

4040
- name: Lint
4141
run: npm run lint

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@
152152
]
153153
},
154154
"engines": {
155-
"node": ">=14.0.0"
155+
"node": "20.14.0",
156+
"npm": "10.8.1"
156157
},
157158
"jest": {
158159
"snapshotSerializers": [

0 commit comments

Comments
 (0)