mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 22:59:14 +00:00
## Summary - Upgrades all GitHub Actions workflows to use `actions/checkout@v5` - Updates 33 instances across 17 workflow files - Ensures we're using the latest version with security patches and improvements ## Changes Updated the following workflow files from `actions/checkout@v4` to `actions/checkout@v5`: - `.github/workflows/backport.yaml` - `.github/workflows/chromatic.yaml` - `.github/workflows/claude-pr-review.yml` - `.github/workflows/create-release-candidate-branch.yaml` - `.github/workflows/dev-release.yaml` - `.github/workflows/devtools-python.yaml` - `.github/workflows/i18n-custom-nodes.yaml` - `.github/workflows/json-validate.yaml` - `.github/workflows/lint-and-format.yaml` - `.github/workflows/pr-playwright-deploy.yaml` - `.github/workflows/pr-storybook-deploy.yaml` - `.github/workflows/test-ui.yaml` - `.github/workflows/update-electron-types.yaml` - `.github/workflows/update-manager-types.yaml` - `.github/workflows/update-registry-types.yaml` - `.github/workflows/version-bump.yaml` - `.github/workflows/vitest.yaml` Note: `.github/workflows/publish-frontend-types.yaml` and `.github/workflows/release.yaml` were already using v5. ## Test plan - [ ] CI workflows should continue to run successfully - [ ] No functional changes - this is a dependency version upgrade only 🤖 Generated with [Claude Code](https://claude.ai/code) ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5859-ci-Upgrade-actions-checkout-from-v4-to-v5-27e6d73d3650815488adee20c74c0464) by [Unito](https://www.unito.io) Co-authored-by: Claude <noreply@anthropic.com>
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: Vitest Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, master, dev*, core/*, desktop/* ]
|
|
pull_request:
|
|
branches-ignore: [ wip/*, draft/*, temp/* ]
|
|
|
|
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: Cache tool outputs
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
.cache
|
|
coverage
|
|
.vitest-cache
|
|
key: vitest-cache-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('src/**/*.{ts,vue,js}', 'vitest.config.*', 'tsconfig.json') }}
|
|
restore-keys: |
|
|
vitest-cache-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-
|
|
vitest-cache-${{ runner.os }}-
|
|
test-tools-cache-${{ runner.os }}-
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Run Vitest tests
|
|
run: |
|
|
pnpm test:component
|
|
pnpm test:unit
|