mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-14 09:27:41 +00:00
[feat] Add comprehensive caching to CICD workflows
- Add npm cache to vitest, release, and dev-release workflows - Add pip cache for Python dependencies in test-ui workflow - Add Playwright browser caching to reduce installation time - Optimize browser installation with conditional steps based on cache hits 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
5
.github/workflows/test-browser-exp.yaml
vendored
5
.github/workflows/test-browser-exp.yaml
vendored
@@ -19,11 +19,12 @@ jobs:
|
||||
restore-keys: |
|
||||
playwright-browsers-${{ runner.os }}-
|
||||
- name: Install Playwright Browsers
|
||||
run: npx playwright install chromium --with-deps
|
||||
if: steps.playwright-cache.outputs.cache-hit != 'true'
|
||||
run: pnpx playwright install chromium --with-deps
|
||||
working-directory: ComfyUI_frontend
|
||||
- name: Run Playwright tests and update snapshots
|
||||
id: playwright-tests
|
||||
run: npx playwright test --update-snapshots
|
||||
run: pnpx playwright test --update-snapshots
|
||||
continue-on-error: true
|
||||
working-directory: ComfyUI_frontend
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user