mirror of
https://github.com/eternal-flame-AD/unitdc-rs.git
synced 2024-11-27 21:06:43 -06:00
fixup! add web deployment action
This commit is contained in:
parent
df0b953df4
commit
a4c7fc0b5a
1 changed files with 4 additions and 1 deletions
5
.github/workflows/web.yml
vendored
5
.github/workflows/web.yml
vendored
|
@ -6,6 +6,9 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
|
@ -23,7 +26,7 @@ jobs:
|
|||
cargo test --verbose
|
||||
- name: Install wasm-pack
|
||||
run: |
|
||||
cargo install wasm-pack
|
||||
yarn global add wasm-pack
|
||||
- name: Build wasm
|
||||
run: |
|
||||
cd crates/unitdc-web && wasm-pack build --target web
|
||||
|
|
Loading…
Reference in a new issue