From 3387abbfe072cbfe1ed1e7a3d71668603831591b Mon Sep 17 00:00:00 2001 From: 深淵の鴿子 <71170059+ZerxZ@users.noreply.github.com> Date: Sun, 27 Oct 2024 20:51:48 -0700 Subject: Add Support WASM ESM and CommonJs module, Typescript. (#176) --- .github/workflows/wasm.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/wasm.yml (limited to '.github/workflows') diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml new file mode 100644 index 0000000..a0910ba --- /dev/null +++ b/.github/workflows/wasm.yml @@ -0,0 +1,23 @@ +name: Wasm Build + +on: + workflow_dispatch: + +jobs: + build: + name: Build + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Build Wasm + run: | + brew upgrade -f python + brew install emscripten + make wasm-node + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: yuescript-wasm + path: ./wasm + retention-days: 7 -- cgit v1.2.3-55-g6feb