snomiao
|
62e06f4358
|
[ci] Enhance CI/CD caching across all workflows (#5117)
* [ci] Enhance CI/CD caching across all workflows
- Add tool cache steps for node_modules/.cache, .cache, and .eslintcache
- Enable npm caching for Node.js setup actions where missing
- Add cache configurations for ESLint, Prettier, Knip, and other build tools
- Improve build performance by caching tool outputs between runs
- Use unique cache keys per workflow to avoid conflicts
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* [ci] Enhance CI/CD caching with comprehensive improvements
Extends caching strategy beyond PR #5107 with additional optimizations:
- **i18n.yaml**: Add tool cache for locale generation workflow
- **update-electron-types.yaml**: Add tool cache for type updates
- **test-ui.yaml**: Add Playwright browser cache and Python pip cache
- **vitest.yaml**: Add coverage directory caching
- **chromatic.yaml**: Add Storybook static build cache
- **All build workflows**: Add TypeScript incremental build cache
- **Type generation workflows**: Add repository caching for external repos
- **lint-and-format.yaml**: Improve cache key granularity with source hash
Performance improvements:
- Playwright browser downloads cached across runs
- Python pip dependencies cached
- TSC incremental compilation cache preserved
- Storybook static builds cached
- External repository clones cached
- More granular cache invalidation based on source changes
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* [ci] Optimize CI/CD caching for better performance
- Enhance cache keys with more specific file patterns for better cache hit rates
- Add missing cache directories (.prettierCache, .knip-cache, .vitest-cache, tsconfig.tsbuildinfo)
- Improve cache key naming for clarity (lint-format, vitest, storybook, playwright)
- Add better fallback cache restore keys
- Include browser-specific caching for Playwright tests
- Add TypeScript build info caching across workflows
Expected improvements:
- 20-40% faster builds on cache hits
- More granular cache invalidation
- Better cache utilization across tools
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Apply suggestion from @DrJKL
Co-authored-by: Alexander Brown <drjkl@comfy.org>
* Apply suggestion from @DrJKL
Co-authored-by: Alexander Brown <drjkl@comfy.org>
* Apply suggestion from @DrJKL
Co-authored-by: Alexander Brown <drjkl@comfy.org>
* Apply suggestion from @DrJKL
Co-authored-by: Alexander Brown <drjkl@comfy.org>
* Apply suggestion from @DrJKL
Co-authored-by: Alexander Brown <drjkl@comfy.org>
* Apply suggestion from @DrJKL
Co-authored-by: Alexander Brown <drjkl@comfy.org>
* [ci] Remove redundant node_modules/.cache from workflow caches
setup-node already handles node_modules caching when cache: 'npm' is enabled.
Removed conflicting node_modules/.cache entries from:
- .github/workflows/lint-and-format.yaml
- .github/workflows/vitest.yaml
- .github/workflows/test-ui.yaml
This prevents cache conflicts and follows best practices for npm caching.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Update .github/workflows/chromatic.yaml
Co-authored-by: Alexander Brown <drjkl@comfy.org>
* Update .github/workflows/update-electron-types.yaml
Co-authored-by: Alexander Brown <drjkl@comfy.org>
* fix: address reviewer feedback on cache optimization PR (#5200)
* fix: remove duplicate cache entries and fix YAML formatting
- Remove duplicate path entries in dev-release.yaml
- Remove redundant node_modules/.cache entries since setup-node handles npm caching
- Fix YAML indentation issues across workflow files
Addresses reviewer feedback on PR #5117 about duplication and maintenance
* fix: add cache-dependency-path for setup-node in test-ui workflow
The test-ui workflow runs at repo root but package-lock.json is in ComfyUI_frontend/
subdirectory, causing setup-node cache to fail. Added cache-dependency-path to fix this.
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Alexander Brown <drjkl@comfy.org>
Co-authored-by: Christian Byrne <cbyrne@comfy.org>
|
2025-08-26 12:26:17 -07:00 |
|
filtered
|
8d6360074d
|
Use prerelease flag for draft releases (#4319)
|
2025-07-01 14:51:24 -07:00 |
|
filtered
|
e8236e1a85
|
[chore] Pin third-party GitHub Actions to commit SHAs (#4076)
|
2025-06-07 21:06:34 -07:00 |
|
Christian Byrne
|
3bd508c001
|
Use generalized prod config var (#3574)
|
2025-04-22 22:26:31 -04:00 |
|
Christian Byrne
|
8d4263c94e
|
Use dev firebase and switch to prod in release workflow (#3499)
|
2025-04-18 17:23:10 -04:00 |
|
Christian Byrne
|
1fb015e046
|
Remove templates build from release process (#3481)
|
2025-04-17 10:41:36 -04:00 |
|
Christian Byrne
|
05dd587928
|
[Manager] Add Algolia search (#3036)
|
2025-03-13 18:24:38 -07:00 |
|
Chenlei Hu
|
3c68a1da2c
|
[CI] Directly publish release for main branch release (#2991)
|
2025-03-11 21:44:14 -04:00 |
|
Chenlei Hu
|
9431c955a6
|
[CI] Include workflow templates at build time (#2775)
|
2025-03-02 15:22:18 -05:00 |
|
Chenlei Hu
|
3b051a11a4
|
[CI] Publish comfyui-frontend-package to pypi (#2774)
|
2025-02-28 18:22:42 -05:00 |
|
Chenlei Hu
|
3fa512957c
|
[CI] Enable release on LTS branches (#2671)
|
2025-02-21 16:36:17 -05:00 |
|
Margen67
|
7bc48c5074
|
Formatting/cleanup (#2594)
|
2025-02-17 10:10:00 -05:00 |
|
Margen67
|
44498739fc
|
Update setup-node to v4 (#2587)
|
2025-02-16 13:14:01 -05:00 |
|
Chenlei Hu
|
475e38ddb4
|
[CI] Skip draft in github release action (#2366)
|
2025-01-28 15:28:41 -08:00 |
|
filtered
|
29b5f606b0
|
[CI] Auto-generate release notes in GH action (#2364)
|
2025-01-27 17:10:34 -08:00 |
|
bymyself
|
9d3bc0f173
|
Add optional report feature to error dialog (#2229)
Co-authored-by: github-actions <github-actions@github.com>
|
2025-01-12 13:23:02 -05:00 |
|
Chenlei Hu
|
05fab91bda
|
Build comfyui-frontend-types library (#1725)
* Install vite-plugin-dts
* Explicitly type workflowStore
* Working rollup
* Hide diff type
* Inline primevue toast mesage types
* Add prepare-types script to generate package.json for type package
* Add global declaration
* Add publish types Github action
* Update litegraph
* Add @comfyorg to package name
|
2024-11-28 11:21:19 -05:00 |
|
Chenlei Hu
|
d49c68e7bf
|
Auto release on release PR merge (#129)
* wip
* Add release workflow
* nit
|
2024-07-13 16:13:34 -04:00 |
|