Skip to content

Commit 29986cf

Browse files
justin808claude
andcommitted
Disable yarn cache for Node 22 in all remaining CI workflows
Extended the Node 22 V8 crash workaround to all workflows that were missing it: - lint-js-and-ruby.yml - pro-lint.yml - pro-test-package-and-gem.yml These workflows were failing with the same V8 engine crash as pro-integration-tests.yml (fixed in previous commit). The issue is a known bug in Node 22.21.0 when accessing yarn cache folders (nodejs/node#56010). All Node 22 workflows now have caching disabled to prevent the "unreachable code" fatal error during setup. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 13b4bdf commit 29986cf

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/lint-js-and-ruby.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ jobs:
9696
uses: actions/setup-node@v4
9797
with:
9898
node-version: 22
99-
cache: yarn
99+
# Disable cache for Node 22 due to V8 bug in 22.21.0
100+
# https://github.com/nodejs/node/issues/56010
100101
cache-dependency-path: '**/yarn.lock'
101102
- name: Print system information
102103
run: |

.github/workflows/pro-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ jobs:
9494
uses: actions/setup-node@v4
9595
with:
9696
node-version: 22
97-
cache: yarn
97+
# Disable cache for Node 22 due to V8 bug in 22.21.0
98+
# https://github.com/nodejs/node/issues/56010
9899
cache-dependency-path: 'react_on_rails_pro/**/yarn.lock'
99100

100101
- name: Print system information

.github/workflows/pro-test-package-and-gem.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ jobs:
9696
uses: actions/setup-node@v4
9797
with:
9898
node-version: 22
99-
cache: yarn
99+
# Disable cache for Node 22 due to V8 bug in 22.21.0
100+
# https://github.com/nodejs/node/issues/56010
100101
cache-dependency-path: 'react_on_rails_pro/**/yarn.lock'
101102

102103
- name: Print system information
@@ -197,7 +198,8 @@ jobs:
197198
uses: actions/setup-node@v4
198199
with:
199200
node-version: 22
200-
cache: yarn
201+
# Disable cache for Node 22 due to V8 bug in 22.21.0
202+
# https://github.com/nodejs/node/issues/56010
201203
cache-dependency-path: 'react_on_rails_pro/**/yarn.lock'
202204

203205
- name: Print system information

0 commit comments

Comments
 (0)