Skip to content

Commit

Permalink
Fix: wasm.yml build feature (Argyle-Software#13)
Browse files Browse the repository at this point in the history
* Fix: Forgot wasm feature in build
* Modify: Run action on PR
  • Loading branch information
mberry authored Aug 26, 2023
1 parent a546e2d commit d3a2acc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: WebAssembly Test

on:
push:
branches:
- master
pull_request:
branches: [ master ]

jobs:
build:
Expand All @@ -28,9 +28,11 @@ jobs:
run: |
rustup target add wasm32-unknown-unknown
cargo install wasm-pack
wasm-pack build --target nodejs
wasm-pack build --target nodejs -- --features wasm
- name: Test webassembly
working-directory: ./tests
run: ./wasm.js
run: |
chmod +x ./wasm.js
./wasm.js

0 comments on commit d3a2acc

Please sign in to comment.