Skip to content

feat: support client api to wasm #1

feat: support client api to wasm

feat: support client api to wasm #1

Workflow file for this run

name: WASM CI
on:
push:
branches: [ main ]
pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
env:
NODE_VERSION: '20.12.0'
RUST_TOOLCHAIN: "1.75"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
AppFlowy-Cloud
- name: Install wasm-pack
run: npm install -g wasm-pack
- name: Build with wasm-pack
run: wasm-pack build
working-directory: ./libs/client-api-for-wasm