Commit 0dd3efc
feat(node-ci): forward cache-dependency-path to setup-node
Polyglot repos with a lockfile outside the repo root (e.g. viz's
`src/ResQ.Viz.Web/package-lock.json`) couldn't adopt this reusable —
actions/setup-node bailed with "Dependencies lock file is not found"
because the reusable didn't accept a `cache-dependency-path` input.
Changes:
- node-ci.yml: add optional `cache-dependency-path` input, forward to
the setup-node step. Default empty preserves current behaviour.
- required.yml: add pass-through `node-cache-dependency-path` input
so consumers routing through the org aggregator can set it.
Surfaced during resq-software/viz PR #58 adoption attempt. Viz's
client pipeline currently uses a hand-rolled inline job because of
this gap — once this lands + the viz ref pin bumps, it can switch
to the shared reusable.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 109c36b commit 0dd3efc
2 files changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
34 | 44 | | |
35 | 45 | | |
36 | 46 | | |
| |||
93 | 103 | | |
94 | 104 | | |
95 | 105 | | |
| 106 | + | |
96 | 107 | | |
97 | 108 | | |
98 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
59 | 69 | | |
60 | 70 | | |
61 | 71 | | |
| |||
165 | 175 | | |
166 | 176 | | |
167 | 177 | | |
| 178 | + | |
168 | 179 | | |
169 | 180 | | |
170 | 181 | | |
| |||
0 commit comments