Skip to content

Commit 7ecb26e

Browse files
justin808claude
andcommitted
Restore conditional cache disabling for Node 22
Preserve the original behavior from master where yarn cache is disabled for Node 22 due to V8 bug in 22.21.0 (nodejs/node#56010). Before: cache: yarn (always enabled) After: cache: ${{ steps.translate-matrix.outputs.node-version != '22' && 'yarn' || '' }} This ensures Node 22 runs without cache while Node 20 uses cache as intended. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent e5c1758 commit 7ecb26e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
node-version: ${{ steps.translate-matrix.outputs.node-version }}
104104
# Disable cache for Node 22 due to V8 bug in 22.21.0
105105
# https://github.com/nodejs/node/issues/56010
106-
cache: yarn
106+
cache: ${{ steps.translate-matrix.outputs.node-version != '22' && 'yarn' || '' }}
107107
cache-dependency-path: '**/yarn.lock'
108108
- name: Print system information
109109
run: |
@@ -186,7 +186,7 @@ jobs:
186186
node-version: ${{ steps.translate-matrix.outputs.node-version }}
187187
# Disable cache for Node 22 due to V8 bug in 22.21.0
188188
# https://github.com/nodejs/node/issues/56010
189-
cache: yarn
189+
cache: ${{ steps.translate-matrix.outputs.node-version != '22' && 'yarn' || '' }}
190190
cache-dependency-path: '**/yarn.lock'
191191
- name: Print system information
192192
run: |

0 commit comments

Comments
 (0)