From: Matt Corallo Date: Mon, 17 Jan 2022 16:13:57 +0000 (+0000) Subject: [TS] spawn second HTTP server for release run, killing previous one X-Git-Tag: v0.0.105.0~4^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5ad90e3a10edbf90dde4142db1ab422520226261;p=ldk-java [TS] spawn second HTTP server for release run, killing previous one --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7cd7bbd..74b9bc5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,7 +74,9 @@ jobs: cd ts rm liblightningjs.wasm && ln -s $(pwd)/../liblightningjs_debug.wasm ./liblightningjs.wasm python3 -m http.server & + SERVER_PID=$! node test/browser.mjs + kill $SERVER_PID - name: Build and Test TS Release Bindings for Web run: | export HOME=/root/ # Github actions is apparently broken @@ -82,7 +84,10 @@ jobs: ./genbindings.sh ./ldk-c-bindings/ wasm false true cd ts rm liblightningjs.wasm && ln -s $(pwd)/../liblightningjs_release.wasm ./liblightningjs.wasm + python3 -m http.server & + SERVER_PID=$! node test/browser.mjs + kill $SERVER_PID - name: Check latest TS files are in git run: | git diff --exit-code