Commit 552086d
committed
test(github-client): use process.cwd() instead of hardcoded repo path
The hardcoded /usr/local/src/... path only exists on the developer
machine. CI runs in /home/runner/work/... so the test failed on the
v0.2.0 release workflow, aborting the GitHub Packages publish and
GitHub Release creation.
bun test runs from the repo root, which is a git clone with a GitHub
origin — process.cwd() is environment-agnostic and exercises the same
git + parse code path.1 parent 89bb69d commit 552086d
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
| |||
0 commit comments