ES6 class convertion of LGraph (#63)

* LGraph ES6 class conversion

* Add compatibility to prototype extension

* Add jest test action

---------

Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com>
This commit is contained in:
Chenlei Hu
2024-08-09 11:20:05 -04:00
committed by GitHub
parent 9b229220a3
commit 16a3d384b6
8 changed files with 6320 additions and 1667 deletions

30
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
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