mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 06:19:58 +00:00
* LGraph ES6 class conversion * Add compatibility to prototype extension * Add jest test action --------- Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com>
31 lines
476 B
YAML
31 lines
476 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 jest tests
|
|
run: |
|
|
npm test -- --verbose
|