Skip to content

Commit 82b8137

Browse files
VinciGit00claude
andcommitted
fix(ci): build scrapegraph-js in-place before tsc/test
scrapegraph-js is pinned to a GitHub commit (PR #13 head) that ships without a prebuilt dist/, so module resolution fails on a fresh install. Build it in-place after bun install so tsc/biome/bun test can resolve it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c1a6f09 commit 82b8137

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: oven-sh/setup-bun@v2
1616
- run: bun install
17+
# scrapegraph-js is pinned to a GitHub commit (PR #13 head, not yet on npm)
18+
# and ships without a prebuilt dist/ — build it in-place so module
19+
# resolution works.
20+
- run: cd node_modules/scrapegraph-js && bun install && bun run build
1721
- run: bun test
1822

1923
lint:
@@ -23,4 +27,5 @@ jobs:
2327
- uses: actions/checkout@v4
2428
- uses: oven-sh/setup-bun@v2
2529
- run: bun install
30+
- run: cd node_modules/scrapegraph-js && bun install && bun run build
2631
- run: bun run check

0 commit comments

Comments
 (0)