Skip to content

Commit

Permalink
Add build action to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
battesonb committed Jun 10, 2023
1 parent 026e206 commit d733176
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build
on:
push:
branches: [main]
pull_request:

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Install
uses: jetli/[email protected]
with:
version: 'latest'
- name: Build
run: |
rustup default nightly
wasm-pack build --release
- name: Test
run: wasm-pack test --headless --firefox

0 comments on commit d733176

Please sign in to comment.