- Format codes #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | ||
push: | ||
branches: [ main, ci* ] | ||
tags: [ pre*, v* ] | ||
pull_request: | ||
branches: [ main ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: 'nightly', | ||
target: 'wasm32-unknown-unknown' | ||
- name: Build with wasm-pack | ||
run: cargo install wasm-pack && wasm-pack build | ||
- name: List files | ||
run: | | ||
ls -la | ||
ls -la pkg |