1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 11:29:37 +00:00

Add action to ensure that web example compiles.

This commit is contained in:
Nolan Darilek 2021-04-03 11:50:11 -05:00
parent f7239366f0
commit d5a692008a

View File

@ -82,3 +82,24 @@ jobs:
with:
command: apk
args: build
check_web_example:
name: Check Web Example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
override: true
- uses: actions-rs/install@v0.1
with:
crate: cargo-make
- run: rustup target add wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: make
args: