aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
author深淵の鴿子 <71170059+ZerxZ@users.noreply.github.com>2024-10-27 20:51:48 -0700
committerGitHub <noreply@github.com>2024-10-28 11:51:48 +0800
commit3387abbfe072cbfe1ed1e7a3d71668603831591b (patch)
tree22a7601ed657750ae57ad45d5d3ee8f6d88b18f3 /.github
parent1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0 (diff)
downloadyuescript-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.yml23
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 @@
1name: Wasm Build
2
3on:
4 workflow_dispatch:
5
6jobs:
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