Skip to content

Commit 33eb6d1

Browse files
committed
Update to Node.js v20
1 parent 5a1db81 commit 33eb6d1

File tree

8 files changed

+28
-19
lines changed

8 files changed

+28
-19
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT="18"
1+
ARG VARIANT="20"
22

33
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
44

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": {
6-
"VARIANT": "18"
6+
"VARIANT": "20"
77
}
88
},
99
"extensions": [

.github/actions/setup/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ inputs:
99
node_version:
1010
description: The Node.js version.
1111
required: false
12-
default: '18'
12+
default: '20'
1313
registry_url:
1414
description: The Node.js package registry URL.
1515
required: false

.github/workflows/_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: The Node.js version.
99
type: string
1010
required: false
11-
default: '18'
11+
default: '20'
1212
secrets:
1313
node_auth_token:
1414
description: The Node.js auth token.

.github/workflows/check.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
os:
1818
- ubuntu-latest
1919
node:
20-
- '16'
2120
- '18'
21+
- '20'
2222
include:
2323
- os: ubuntu-latest
2424
os_name: Linux
@@ -40,8 +40,8 @@ jobs:
4040
fail-fast: false
4141
matrix:
4242
node:
43-
- '16'
4443
- '18'
44+
- '20'
4545
steps:
4646
- name: Checkout
4747
uses: actions/checkout@v3
@@ -68,8 +68,8 @@ jobs:
6868
os:
6969
- ubuntu-latest
7070
node:
71-
- '16'
7271
- '18'
72+
- '20'
7373
include:
7474
- os: ubuntu-latest
7575
os_name: Linux
@@ -125,8 +125,8 @@ jobs:
125125
fail-fast: false
126126
matrix:
127127
node:
128-
- '16'
129128
- '18'
129+
- '20'
130130
steps:
131131
- name: Checkout
132132
uses: actions/checkout@v3

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/hydrogen
1+
20

package-lock.json

+16-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
"report": "c8 report"
5555
},
5656
"engines": {
57-
"node": ">=16.13.0",
58-
"npm": ">= 8.1.0"
57+
"node": ">=18.12.0",
58+
"npm": ">= 9.0.0"
5959
},
6060
"devDependencies": {
61-
"@types/node": "^18.11.18",
61+
"@types/node": "^20.8.10",
6262
"ava": "^5.0.1",
6363
"c8": "^8.0.0",
6464
"del-cli": "^5.0.0",

0 commit comments

Comments
 (0)