CodeSandbox CI: Fall back to local build (#22473)
The `download-experimental-build` script has been flaky on CodeSandbox CI, I think because of GitHub rate limiting. Until we figure out how to fix that, I've updated it to fall back to a local build.
Andrew Clark committed
Sep 30, 2021 at 11:12 UTC
7d38e4fd896911f7204165853236e1b7f2786a60
1 file changed
+1
-1
package.json
+1
-1
@@ -144,6 +144,6 @@
144
"publish-prereleases": "node ./scripts/release/publish-using-ci-workflow.js",
145
"download-build": "node ./scripts/release/download-experimental-build.js",
146
"download-build-for-head": "node ./scripts/release/download-experimental-build.js --commit=$(git rev-parse HEAD)",
147
- "download-build-in-codesandbox-ci": "cd scripts/release && yarn install && cd ../../ && yarn download-build-for-head"
147
+ "download-build-in-codesandbox-ci": "cd scripts/release && yarn install && cd ../../ && yarn download-build-for-head || yarn build-combined --type=node react/index react-dom scheduler"
148
}
149
}