Skip to content

Commit

Permalink
Add wasm workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SHAcollision committed Jan 21, 2025
1 parent ccbf315 commit c922aca
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
File renamed without changes.
23 changes: 23 additions & 0 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust (Wasm-Pack)

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
wasm-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install Wasm-Pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install Firefox
run: sudo apt-get install -y firefox
- name: Run Wasm-Pack Tests
run: wasm-pack test --headless --firefox

0 comments on commit c922aca

Please sign in to comment.