From 5ad90e3a10edbf90dde4142db1ab422520226261 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 17 Jan 2022 16:13:57 +0000 Subject: [PATCH] [TS] spawn second HTTP server for release run, killing previous one --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5