mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
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.
40 lines
669 B
YAML
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
|