[TS/JS] Add rollup and config to generate iife flatbuffers bundle (#7449)

* Add rollup and config to generate iife flatbuffers bundle

* Atempt to use yarn and add deps

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
Björn Harrtell
2022-08-30 01:37:43 +02:00
committed by GitHub
parent 41d9add7ef
commit ce382d6dd3
4 changed files with 25 additions and 2 deletions

View File

@@ -446,8 +446,10 @@ jobs:
- name: flatc
# FIXME: make test script not rely on flatc
run: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_INSTALL=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF . && make -j
- name: deps
run: yarn
- name: compile
run: npm run compile
run: yarn compile
- name: test
working-directory: tests
run: python3 TypeScriptTest.py