Skip to content

chore: update deps #160

chore: update deps

chore: update deps #160

Workflow file for this run

name: Build
on:
pull_request:
branches: [master]
push:
branches: [master]
permissions:
id-token: write
pages: write
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
profile: minimal
- name: Install wasm-bindgen
uses: jetli/[email protected]
with:
# Sync version with `Cargo.toml`
version: 0.2.92
- name: Install wasm-opt
run: sudo apt-get install -y binaryen
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Build examples
run: make examples-release
- name: Setup GitHub Pages
if: github.event_name == 'push'
uses: actions/configure-pages@v3
- name: Upload Pages artifact
if: github.event_name == 'push'
uses: actions/upload-pages-artifact@v2
with:
path: dist
- name: Deploy to GitHub Pages
if: github.event_name == 'push'
uses: actions/deploy-pages@v2