summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfwcd <fwcdmail@gmail.com>2023-10-06 11:00:11 +0100
committerfwcd <fwcdmail@gmail.com>2023-10-06 11:00:11 +0100
commit14837d2880416374bc583cdf39b38f1f334ff513 (patch)
treef5db2a209420883ab9f9ab649cc4da6f012c6add
parent7587b4a7f1c3a0fe4ab41301596f9b4517395a4e (diff)
Build WASM binary in normal build workflow too
-rw-r--r--.github/workflows/build.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1618c07e6..74066b163 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,6 +27,13 @@ jobs:
test -z "$diff"
- name: Run tests
run: npm test
+ - name: Build WASM binary
+ run: npm run build-wasm
+ - name: Upload WASM binary
+ uses: actions/upload-artifact@v3
+ with:
+ name: tree-sitter-kotlin.wasm
+ path: ./tree-sitter-kotlin.wasm
- name: Set up Rust
uses: actions-rs/toolchain@v1
with: