feat: migrate scrapegraph-js from github pin to npm v2.1.0 #68
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: bun install | |
| # scrapegraph-js is pinned to a GitHub commit (PR #13 head, not yet on npm) | |
| # and ships without a prebuilt dist/ — build it in-place so module | |
| # resolution works. | |
| - run: cd node_modules/scrapegraph-js && bun install && bun run build | |
| - run: bun test | |
| lint: | |
| name: Lint & Typecheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: bun install | |
| - run: cd node_modules/scrapegraph-js && bun install && bun run build | |
| - run: bun run check |