Skip to content

chore: update to most recent unleash-types #90

chore: update to most recent unleash-types

chore: update to most recent unleash-types #90

Workflow file for this run

name: Build and Publish WASM
on:
push:
branches:
- main
paths:
- 'yggdrasilwasm/**'
# Build in main if anything changes in yggdrasil or the ffi layer
- 'unleash-yggdrasil/src/**.rs'
- 'yggdrasilffi/src/**.rs'
tags:
- '*'
pull_request:
paths:
- 'yggdrasilwasm/**'
workflow_dispatch:
inputs:
version:
description: 'Version (for manual trigger)'
required: true
jobs:
build-and-publish-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install wasm-pack
uses: jetli/[email protected]
- name: Build WASM
run: |
cd yggdrasilwasm
wasm-pack build --target nodejs
- name: Set up Bun
uses: oven-sh/setup-bun@v2
- name: Get client spec
uses: actions/checkout@v4
with:
repository: Unleash/client-specification
ref: v5.1.9
path: client-specification
- name: Run e2e tests
run: |
cd yggdrasilwasm/e2e-tests
bun i
bun test