Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Add targets key to napi in package.json #55

Add targets key to napi in package.json

Add targets key to napi in package.json #55

Workflow file for this run

on:
push:
workflow_dispatch:
jobs:
build-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt update
sudo apt install clang llvm gcc-multilib -y
export CC=clang
export CXX=clang++
- run: rustup target add wasm32-wasip1-threads
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: |
mkdir dist
bun run build --target wasm32-wasip1-threads
- uses: actions/upload-artifact@v4
with:
path: dist