Commit e72bd20
committed
Fix Comic Hub CI npm install hang
Two changes:
- Add engines.node >=20.9 to comic-hub/package.json. Matches Next.js 16
minimum and prevents accidental installs on unsupported runtimes.
- Add 'npm cache clean --force' step before 'npm ci' in the Comic Hub
workflow. Two consecutive CI runs failed at npm ci with
'npm error Exit handler never called!' (npm/cli#8336) — a known npm 11
bug triggered by stale/corrupt cache state. The setup-node@v6
cache: 'npm' directive restores cache between runs, so a corrupt entry
poisons subsequent runs. Clean cache step forces fresh fetch.1 parent c5d0a58 commit e72bd20
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
0 commit comments