Skip to content

ci: add GitHub Actions workflow with coverage reporting - #2

Merged
notandrewyang merged 1 commit into
mainfrom
ci/add-cli-workflow
Sep 1, 2026
Merged

ci: add GitHub Actions workflow with coverage reporting#2
notandrewyang merged 1 commit into
mainfrom
ci/add-cli-workflow

Conversation

@lukeGao0

@lukeGao0 lukeGao0 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add ci.yml (typecheck, build, coverage on push/PR to main)
  • Wire @vitest/coverage-v8 into vitest.config.ts
  • Add the build status badge to README
  • Add a "Learn more" link to the bitget-agent-cli product page in the README overview

Test plan

  • pnpm run typecheck passes
  • pnpm run build passes
  • pnpm run coverage — 15 tests passed
  • Verify CI run is green on GitHub Actions

Add ci.yml (typecheck, build, coverage on push/PR to main), wire
@vitest/coverage-v8 into vitest.config.ts, and add the build status
badge to README.
@lukeGao0
lukeGao0 requested a review from a team September 1, 2026 09:33
Comment thread .github/workflows/ci.yml
Comment on lines +11 to +24
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8.14.1
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm run typecheck
- run: pnpm run build
- run: pnpm run coverage
@lukeGao0

lukeGao0 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

reviewed

1 similar comment
@notandrewyang

Copy link
Copy Markdown
Contributor

reviewed

@notandrewyang
notandrewyang self-requested a review September 1, 2026 10:12
@notandrewyang
notandrewyang merged commit 400b44c into main Sep 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants