Files
ComfyUI_frontend/.github/workflows/test.yml
filtered 6224d2dc06 [Cleanup] Update ESLint rules with stricter auto-fixes (#614)
Stylistic plugin falls short in a few areas when it comes to consistent
lists and chaining. Replaced some key rules with antfu's personal
variants.

`eslint` can now be run repo-wide without params.
2025-02-26 11:12:03 +00:00

40 lines
669 B
YAML

name: Tests CI
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 typecheck
run: |
npm run typecheck
- name: Run format
run: |
npm run format
- name: Run vitest tests
run: |
npm test -- --reporter=verbose