Commit 488642d
committed
fix: remove npm cache from CTC workflows to support pnpm/yarn repos
ctcOpen.yml and ctcClose.yml set actions/setup-node `cache: npm`, which
requires an npm lockfile to compute its cache key. Consumer repos on pnpm
or yarn have no package-lock.json, so setup-node fails with "Dependencies
lock file is not found" and the CTC job dies before it ever runs.
The only npm operation in these jobs is the one-off global install of
@salesforce/change-case-management, which the cache does not key on, so it
provides no benefit here. Dropping `cache: npm` lets the CTC legs run for
npm, yarn, and pnpm consumers alike.1 parent b1f7047 commit 488642d
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments