Skip to content

Add CI and GitHub Pages deploy workflows - #1

Merged
eddyable merged 1 commit into
mainfrom
ci-and-deploy
Oct 4, 2026
Merged

eddyable merged 1 commit into
mainfrom
ci-and-deploy

Conversation

@eddyable

@eddyable eddyable commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • CI workflow (.github/workflows/ci.yml): runs pnpm typecheck, pnpm test, pnpm build, and the Playwright e2e suite (desktop + phone) on every push and PR.
  • Deploy workflow (.github/workflows/deploy.yml): builds the web app with a GitHub Pages-appropriate base path and publishes apps/web/dist via actions/deploy-pages on every push to main.
  • apps/web/vite.config.ts: base now reads from VITE_BASE (set by the deploy workflow), defaulting to / for local dev and previews.
  • docs/STATUS.md: checked off the CI and deploy items from step 1.

Setup needed (one-time, by the repo owner)

GitHub Pages needs its source set to "GitHub Actions": Settings → Pages → Source → GitHub Actions. After that, every push to main auto-deploys to https://eddyable.github.io/Vicoding/.

Test plan

  • pnpm typecheck — passes
  • pnpm test — 141 unit tests pass
  • pnpm build — succeeds; verified VITE_BASE=/Vicoding/ correctly rewrites asset paths in dist/index.html
  • pnpm --filter @vicoding/web e2e — 32/32 Playwright tests pass (desktop + phone)
  • CI workflow run on this PR (will run automatically)

🤖 Generated with Claude Code

CI runs typecheck, unit tests, and the Playwright e2e suite on every
push and PR. Deploy builds the web app with a GitHub Pages base path
and publishes it via actions/deploy-pages on push to main.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@eddyable
eddyable merged commit 3b4ee89 into main Oct 4, 2026
1 check passed
@eddyable
eddyable deleted the ci-and-deploy branch October 4, 2026 13:26
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.

1 participant