Skip to content

Commit 4a3e919

Browse files
authored
Upgrade to nodejs 22 (#1213)
1 parent 22b993a commit 4a3e919

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/size.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [18.x]
10+
node-version: [22.x]
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
platform: [ubuntu-latest, macos-latest, windows-latest]
10-
node-version: [18.x]
10+
node-version: [22.x]
1111
runs-on: ${{ matrix.platform }}
1212
steps:
1313
- uses: actions/checkout@v3

demo/preact-map/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"webpack-cli": "5.1.4"
2525
},
2626
"volta": {
27-
"node": "18.19.1",
27+
"node": "22.16.0",
2828
"yarn": "1.22.22"
2929
}
3030
}

demo/react-map/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"webpack-cli": "5.1.4"
2626
},
2727
"volta": {
28-
"node": "18.19.1",
28+
"node": "22.16.0",
2929
"yarn": "1.22.22"
3030
}
3131
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"url": "https://github.com/ampproject/worker-dom.git"
1313
},
1414
"engines": {
15-
"node": ">=10.14"
15+
"node": ">=18"
1616
},
1717
"author": "The AMP HTML Authors",
1818
"license": "Apache-2.0",
@@ -117,7 +117,7 @@
117117
]
118118
},
119119
"volta": {
120-
"node": "18.19.1",
120+
"node": "22.16.0",
121121
"yarn": "1.22.22"
122122
},
123123
"publishConfig": {

tools/linter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
]
4444
},
4545
"volta": {
46-
"node": "18.19.1",
46+
"node": "22.16.0",
4747
"yarn": "1.22.22"
4848
}
4949
}

0 commit comments

Comments
 (0)