Files
ComfyUI_frontend/.github/workflows/ci-tests-unit.yaml
snomiao 38695ae0b5 [ci] Remove all actions/cache steps from workflows
This commit removes the entire actions/cache steps (not just .cache
directory) from all workflow files to measure the true performance
impact of caching vs no caching.

Changes:
- ci-lint-format.yaml: Removed tool outputs cache
- ci-tests-storybook.yaml: Removed storybook build cache (both jobs)
- ci-tests-unit.yaml: Removed coverage and vitest cache
- api-update-electron-api-types.yaml: Removed tsbuildinfo cache
- api-update-manager-api-types.yaml: Removed tool cache and repo cache
- api-update-registry-api-types.yaml: Removed tool cache and repo cache
- release-draft-create.yaml: Removed tsbuildinfo cache
- release-pypi-dev.yaml: Removed dist and tsbuildinfo cache

Note: pnpm package caching via setup-node still remains active.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 13:44:22 +00:00

37 lines
757 B
YAML

name: "CI: Tests Unit"
description: "Unit and component testing with Vitest"
on:
push:
branches: [main, master, dev*, core/*, desktop/*]
pull_request:
branches-ignore: [wip/*, draft/*, temp/*]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run Vitest tests
run: pnpm test:unit