Files
ComfyUI_frontend/.github/workflows/test-lint-format.yml
filtered 37b9798602 [CI] Rename workflow files (#695)
- Follow-up on #694

Split the file rename out for easier diffs.
2025-03-03 09:47:10 +00:00

36 lines
624 B
YAML

name: Unit Test, Lint, and Format
on:
push:
branches: [main, master, "dev*"]
pull_request:
branches: [main, master, "dev*"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Build
run: |
npm ci
npm run build
- name: Run lint
run: |
npm run lint:ci
- name: Run format
run: |
npm run format
- name: Run vitest tests
run: |
npm test -- --reporter=verbose