diff options
author | 深淵の鴿子 <71170059+ZerxZ@users.noreply.github.com> | 2024-10-27 20:51:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 11:51:48 +0800 |
commit | 3387abbfe072cbfe1ed1e7a3d71668603831591b (patch) | |
tree | 22a7601ed657750ae57ad45d5d3ee8f6d88b18f3 /.github | |
parent | 1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0 (diff) | |
download | yuescript-3387abbfe072cbfe1ed1e7a3d71668603831591b.tar.gz yuescript-3387abbfe072cbfe1ed1e7a3d71668603831591b.tar.bz2 yuescript-3387abbfe072cbfe1ed1e7a3d71668603831591b.zip |
Add Support WASM ESM and CommonJs module, Typescript. (#176)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/wasm.yml | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
1 | name: Wasm Build | ||
2 | |||
3 | on: | ||
4 | workflow_dispatch: | ||
5 | |||
6 | jobs: | ||
7 | build: | ||
8 | name: Build | ||
9 | runs-on: macos-latest | ||
10 | steps: | ||
11 | - name: Checkout | ||
12 | uses: actions/checkout@v3 | ||
13 | - name: Build Wasm | ||
14 | run: | | ||
15 | brew upgrade -f python | ||
16 | brew install emscripten | ||
17 | make wasm-node | ||
18 | - name: Upload artifact | ||
19 | uses: actions/upload-artifact@v4 | ||
20 | with: | ||
21 | name: yuescript-wasm | ||
22 | path: ./wasm | ||
23 | retention-days: 7 | ||