Skip to content

Release unleash-yggdrasil v0.9.0 #28

Release unleash-yggdrasil v0.9.0

Release unleash-yggdrasil v0.9.0 #28

Workflow file for this run

name: Build and Publish WASM
on:
push:
branches:
- main
paths:
- 'wasm-engine/**'
# Build in main if anything changes in yggdrasil or the ffi layer
- 'unleash-yggdrasil/src/**.rs'
- 'yggdrasilffi/src/**.rs'
tags:
- '*'
pull_request:
paths:
- 'wasm-engine/**'
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: wasm-pack build --target nodejs