Skip to content

Commit 402b17b

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 <noreply@anthropic.com>
1 parent 1847c83 commit 402b17b

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
@@ -122,7 +122,7 @@ jobs:
122122
node-version: ${{ steps.translate-matrix.outputs.node-version }}
123123
# Disable cache for Node 22 due to V8 bug in 22.21.0
124124
# https://github.com/nodejs/node/issues/56010
125-
cache: yarn
125+
cache: ${{ steps.translate-matrix.outputs.node-version != '22' && 'yarn' || '' }}
126126
cache-dependency-path: '**/yarn.lock'
127127
- name: Print system information
128128
run: |
@@ -213,7 +213,7 @@ jobs:
213213
node-version: ${{ steps.translate-matrix.outputs.node-version }}
214214
# Disable cache for Node 22 due to V8 bug in 22.21.0
215215
# https://github.com/nodejs/node/issues/56010
216-
cache: yarn
216+
cache: ${{ steps.translate-matrix.outputs.node-version != '22' && 'yarn' || '' }}
217217
cache-dependency-path: '**/yarn.lock'
218218
- name: Print system information
219219
run: |

0 commit comments

Comments
 (0)