Commit 8b5a18c
feat: optimize dependency caching by installing deps in setup-matrix job
Move dependency installation to setup-matrix job to create a single cache
that all e2e test jobs can reuse. This eliminates redundant installations
and significantly improves CI performance.
Key improvements:
- Install all dependencies once during setup-matrix
- Cache pnpm store, node_modules, Cypress, and Playwright
- E2E jobs now use cache/restore to reuse dependencies
- Remove redundant pnpm global installation
Expected benefits:
- 50%+ reduction in total CI time
- Single dependency installation instead of per-job installs
- Better cache utilization across all test jobs
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 49076fd commit 8b5a18c
1 file changed
+50
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
111 | 149 | | |
112 | 150 | | |
113 | 151 | | |
114 | | - | |
115 | 152 | | |
116 | 153 | | |
117 | 154 | | |
| |||
149 | 186 | | |
150 | 187 | | |
151 | 188 | | |
152 | | - | |
153 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
154 | 197 | | |
155 | 198 | | |
156 | 199 | | |
157 | | - | |
| 200 | + | |
158 | 201 | | |
159 | 202 | | |
160 | 203 | | |
161 | 204 | | |
162 | 205 | | |
163 | 206 | | |
164 | | - | |
| 207 | + | |
165 | 208 | | |
166 | | - | |
| 209 | + | |
167 | 210 | | |
168 | 211 | | |
169 | 212 | | |
170 | 213 | | |
171 | 214 | | |
172 | 215 | | |
173 | | - | |
174 | | - | |
| 216 | + | |
175 | 217 | | |
176 | | - | |
177 | 218 | | |
178 | 219 | | |
179 | 220 | | |
| |||
0 commit comments