Skip to content

Publish NPM package

Publish NPM package #1

Workflow file for this run

name: Publish NPM package
on:
release:
types: [released]
workflow_dispatch:
inputs:
version:
description: Version
required: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./expression-js
steps:
- uses: actions/checkout@v4
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build
run: npm run build
- name: Package
run: wasm-pack pack