It only seems to do something when using yarn
|
if [ -n "$CACHE_TYPE" ] && [ "$CACHE_TYPE" = "yarn" ]; then |
but after
#2121 we don't anymore, so it can be safely replaced with
setup-node.
Also, it's apparently based on
|
## Root Cause |
|
|
|
This is a known bug in Node.js/V8 that occurs sporadically: |
|
|
|
- **Node.js Issue**: https://github.com/nodejs/node/issues/56010 |
|
- **Setup-node Issue**: https://github.com/actions/setup-node/issues/1028 |
but both links there are incorrect:
actions/setup-node#1028 is 404, and
nodejs/node#56010 is entirely unrelated.
It only seems to do something when using
yarnreact_on_rails/.github/actions/setup-node-with-retry/action.yml
Line 43 in 97fde84
setup-node.Also, it's apparently based on
react_on_rails/analysis/v8-crash-retry-solution.md
Lines 14 to 19 in 97fde84