Commit 9bc6872
ci(release): scope cache key hashFiles to root package-lock.json
The Post Cache Cypress binary step in the prepare job was failing because
hashFiles('**/package-lock.json') re-evaluates after the job runs, by which
point the workspace contains node_modules, generated docs, and worktree
leftovers from JamesIves/github-pages-deploy-action. Recursing across all
of that made hashFiles fail with "The template is not valid".
Use the root-scoped package-lock.json (only one exists in this repo) for
both the Cypress binary cache and the Vite build cache keys.
Agent-Logs-Url: https://github.com/Hack23/blacktrigram/sessions/ebbb6ddd-5533-4b82-a333-de9f0299ca5a
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>1 parent 98371c8 commit 9bc6872
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments