Commit d99ac2e
Fix Node 22 CI: Disable yarn cache instead of NODE_OPTIONS
The previous fix using NODE_OPTIONS=--no-compilation-cache doesn't work
because --no-compilation-cache is not allowed in NODE_OPTIONS for security.
New approach: Conditionally disable yarn caching for Node 22 to avoid the
V8 code cache bug in Node 22.21.0.
This is a temporary workaround until the Node.js bug is fixed.
Reference: nodejs/node#56010
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 5c42da3 commit d99ac2e
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 45 | + | |
49 | 46 | | |
50 | | - | |
| 47 | + | |
| 48 | + | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
127 | 125 | | |
128 | 126 | | |
129 | 127 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 128 | + | |
134 | 129 | | |
135 | | - | |
| 130 | + | |
| 131 | + | |
136 | 132 | | |
137 | 133 | | |
138 | 134 | | |
| |||
0 commit comments