Commit 8e758c2
fix(ci): use npm --prefix to avoid cd breaking require.resolve
The previous cd into /tmp/sandbox-runtime caused the subsequent
node require.resolve call to run in the wrong directory, unable to
find @anthropic-ai/sandbox-runtime in safeclaw's node_modules.
Use npm --prefix instead to keep cwd in GITHUB_WORKSPACE.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 79a3b3e commit 8e758c2
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments