Skip to content

Release

Release #12

Workflow file for this run

name: Release
on:
release:
types: [released]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
cache: 'npm'
- run: npm ci
- run: rustup target add wasm32-unknown-unknown
- run: sudo apt-get install -y binaryen
- run: npm run build
- run: npm run bundle
- run: ls -lhR dist
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}