Skip to content

Commit

Permalink
chore: require at least Node.js version v20 and pnpm v9.
Browse files Browse the repository at this point in the history
The project is set up to target Node v20, as indicated by the Node types
we use. Thus, this commit:

- Sets the minimum Node.js version to v20.
- Sets the minimum pnpm version to v9.
- Requires Node v20 instead of v22 in the CI.

Change-Id: Icf9cb245fc4632baff8a2db9f2e85049cb4af010
  • Loading branch information
avm99963 committed Sep 27, 2024
1 parent d7c19de commit 368bacb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"forums",
"google"
],
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "7.24.8",
"@jest/globals": "29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion playbooks/lint/pre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
- role: ensure-genmanifest
- role: ensure-nodejs-fork
vars:
node_version: 22
node_version: 20
2 changes: 1 addition & 1 deletion playbooks/nightly-build/pre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
- role: ensure-genmanifest
- role: ensure-nodejs-fork
vars:
node_version: 22
node_version: 20
- role: ensure-cws-upload
version: "2.1.0"

0 comments on commit 368bacb

Please sign in to comment.