Skip to content

Commit 0697f79

Browse files
sararobcopybara-github
authored andcommitted
feat: BREAKING CHANGE - Upgrade minimum required Node version to Node 22. Context: https://docs.cloud.google.com/nodejs/getting-started/supported-nodejs-versions
PiperOrigin-RevId: 944567547
1 parent 2afb3a4 commit 0697f79

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/presubmit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
node: [20, 22, 24]
9+
node: [22, 24, 26]
1010
steps:
1111
- uses: actions/checkout@v5
1212
- uses: actions/setup-node@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ page in Agent Platform documentation.
1010

1111
## Before you begin
1212

13-
1. Make sure your node.js version is 20 or above.
13+
1. Make sure your node.js version is 22 or above.
1414
1. [Select](https://console.cloud.google.com/project) or [create](https://cloud.google.com/resource-manager/docs/creating-managing-projects#creating_a_project) a Google Cloud project.
1515
1. [Enable billing for your project](https://cloud.google.com/billing/docs/how-to/modify-project).
1616
1. [Enable the Agent Platform API](https://console.cloud.google.com/flows/enableapi?apiid=aiplatform.googleapis.com).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "Apache-2.0",
66
"author": "Google LLC",
77
"engines": {
8-
"node": ">=20.0.0"
8+
"node": ">=22.0.0"
99
},
1010
"homepage": "https://github.com/googleapis/nodejs-agentplatform",
1111
"repository": "googleapis/nodejs-agentplatform",

0 commit comments

Comments
 (0)