Commit Graph

14 Commits

Author SHA1 Message Date
snomiao
cd2a3e549c debug: add ls command to inspect .pages directory
Add debug step to list contents of .pages directory before Vercel deployment
to help troubleshoot deployment issues.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 04:18:34 +00:00
snomiao
d56e0cb7a7 feat: ensure unique cache key for every workflow run
Add github.run_id to cache key to prevent cache hits and ensure
every run saves a new cache entry.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 03:45:20 +00:00
snomiao
165b322a55 feat: add Vercel deployment job to pages workflow
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 02:34:36 +00:00
snomiao
61934da1be feat: update vercel deployment configuration
- Enable GitHub comments for deployment notifications
- Update alias domain to use 'reports' instead of 'docs'

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 02:32:45 +00:00
snomiao
c3628e5968 Revert "feat: add separate pages-dev-server background job"
This reverts commit c06b261c65.
2025-10-16 01:28:41 +00:00
snomiao
c06b261c65 feat: add separate pages-dev-server background job
- Create dedicated pages-dev-server job that runs bun pages:dev
- Runs in parallel with incremental-build as a background task
- Uses bun for faster package management and dev server execution
- Includes proper dependency installation and Node.js setup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 01:18:48 +00:00
snomiao
f2cf9147dc Revert "feat: run bun pages:dev in background during build"
This reverts commit 3a347c4151.
2025-10-16 01:18:30 +00:00
snomiao
3a347c4151 feat: run bun pages:dev in background during build
- Install bun runtime for faster package management
- Start pages:dev server in background during build process
- Track dev server PID for proper cleanup
- Ensure dev server is stopped after build completion

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 01:17:37 +00:00
snomiao
a678f6cd2e feat: add incremental build caching and branch-specific Vercel deployment
- Add build artifact caching using branch name as cache key
- Cache .pages, storybook-static, and coverage directories
- Configure Vercel deployment with branch-specific alias domains
- Optimize build performance with cache restore fallbacks

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 01:10:44 +00:00
snomiao
74a6677c3f refactor: consolidate to single artifact download action
- Replace actions/download-artifact@v4 with dawidd6/action-download-artifact@v6
- Use single action for both same-run and cross-workflow downloads
- Simplifies maintenance and reduces action dependencies
- Maintains all existing fallback logic

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-15 21:39:04 +00:00
snomiao
aeaeacf725 fix: update deprecated GitHub Actions to latest versions
- Update actions/download-artifact@v3 to v4
- Update actions/upload-pages-artifact@v3 to v4
- Update dawidd6/action-download-artifact@v3 to v6

Resolves CI/CD failure with deprecated artifact actions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-15 21:14:35 +00:00
snomiao
ce9a224028 chore: update knip config and build configuration
- Add ignored dependencies for three.js and yjs libraries
- Ignore utility files with potential extension usage
- Update pages build configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-15 20:36:26 +00:00
snomiao
a02fc0f802 feat(pages): optimize GitHub Pages artifact handling and improve build configuration
- Update vitest-reports artifact download paths to use .gh-pages-cache for better organization
- Fix .gitignore core dump pattern to be more general (core instead of /core)
- Update .pages structure with migrated documentation and configuration
- Refine Knip configuration to exclude .pages directory while keeping vite.config.ts
- Improve build-pages.sh script to use relative paths consistently for .pages directory

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 22:53:07 +00:00
snomiao
46d2fd594e feat(branch-reports)!: feat(branch-reports): migrate docs/pages to .pages and update CI for Git\n\n- Remove and replace CI workflow for deploying GitHub Pages: deleted .github/workflows/deploy-gh-pages.yml; added .github/workflows/release-pages.yml to deploy to GitHub Pages and Vercel.\n- Reorganize docs assets: move docs/pages to .pages, renaming index.html, knip.html, and Vite config to .pages, and updating README accordingly.\n- Update Knip configuration to include new .pages path and adjust excludes.\n- Update build tooling and scripts to target the new .pages folder: add pages:dev and pages:build scripts, and adjust scripts/build-pages.sh to output to .pages.\n- Update package.json and TS/Vitest configs: include .pages in tsconfig; adjust vitest coverage settings to output under .vitest; add required reporters.\n- Remove legacy docs/pages ignores and tsconfig pointing at docs/pages; replace with .pages equivalents.\n- Note breaking changes: All generated docs/pages outputs are now under .pages. Existing paths, and GitHub Actions workflows expecting docs/pages are replaced by new .pages structure and the release-pages workflow.\n- New Knip HTML wrapper is now placed at .pages/knip.html. 2025-10-14 10:31:38 +00:00