Skip to content

Commit 1c4a722

Browse files
authored
Update to nodejs 22 (#6912)
1 parent ad54418 commit 1c4a722

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/deploy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setting up Node.js
4242
uses: actions/setup-node@v4
4343
with:
44-
node-version: 18
44+
node-version: 22
4545
cache: npm
4646

4747
- name: Installing Node.js packages
@@ -64,7 +64,7 @@ jobs:
6464
- name: Setting up Node.js
6565
uses: actions/setup-node@v4
6666
with:
67-
node-version: 18
67+
node-version: 22
6868
cache: npm
6969

7070
- name: Installing Node.js packages
@@ -115,7 +115,7 @@ jobs:
115115
- name: Setting up Node.js
116116
uses: actions/setup-node@v4
117117
with:
118-
node-version: 18
118+
node-version: 22
119119
cache: npm
120120

121121
- name: Installing Node.js packages
@@ -165,7 +165,7 @@ jobs:
165165
- name: Setting up Node.js
166166
uses: actions/setup-node@v4
167167
with:
168-
node-version: 18
168+
node-version: 22
169169
cache: npm
170170

171171
- name: Installing Node.js packages

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setting up Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 18
21+
node-version: 22
2222
cache: npm
2323

2424
- name: Installing Node.js packages

.github/workflows/test-platform.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setting up Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 18
21+
node-version: 22
2222
cache: npm
2323

2424
- name: Installing Node.js packages

.github/workflows/test-playground.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setting up Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 18
21+
node-version: 22
2222
cache: npm
2323

2424
- name: Installing Node.js packages

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine
1+
FROM node:22-alpine
22

33
# Create app directory
44
WORKDIR /usr/src/app

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "The AMP Project website.",
55
"repository": "[email protected]:ampproject/docs.git",
66
"engines": {
7-
"node": "18.x"
7+
"node": "22.x"
88
},
99
"private": true,
1010
"scripts": {

0 commit comments

Comments
 (0)