Skip to content

feat: support closure (#147) #74

feat: support closure (#147)

feat: support closure (#147) #74

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
# container: gengjiawen/node-build:latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and Build
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
npm i -g pnpm@8
cargo build
cd wasm && wasm-pack build --release --scope=gengjiawen
pnpm i
cd $GITHUB_WORKSPACE/packages/playground && pnpm build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: packages/playground/dist