Skip to content

Commit b0cfad4

Browse files
iamsmrutiEugeneChoi4
authored andcommitted
Update Code Sandbox CI to Node 20 to Match .nvmrc (facebook#34329)
## Summary Update the CodeSandbox CI configuration to use Node 20 instead of Node 18, so that it matches the Node version specified in .nvmrc. This ensures consistency between local development environments and CI builds, reducing the risk of version-related build issues. Closes facebook#34328 ## How did you test this change? - Verified that .nvmrc specifies Node 20 and .codesandbox/ci.json is updated accordingly. - Locally switched to Node 20 using nvm use 20 and successfully ran build scripts for all packages: `react`, `react-dom`, `react-server-dom-webpack`, and `scheduler`. - Confirmed there are no Node 20–specific build errors or warnings locally. - CI on the feature branch will now run with Node 20, and all builds are expected to succeed.
1 parent eba0ef8 commit b0cfad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"packages": ["packages/react", "packages/react-dom", "packages/react-server-dom-webpack", "packages/scheduler"],
33
"buildCommand": "download-build-in-codesandbox-ci",
4-
"node": "18",
4+
"node": "20",
55
"publishDirectory": {
66
"react": "build/oss-experimental/react",
77
"react-dom": "build/oss-experimental/react-dom",

0 commit comments

Comments
 (0)