mirror of
https://github.com/eternal-flame-AD/unitdc-rs.git
synced 2025-02-25 15:24:24 -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:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
@ -23,7 +26,7 @@ jobs:
|
||||||
cargo test --verbose
|
cargo test --verbose
|
||||||
- name: Install wasm-pack
|
- name: Install wasm-pack
|
||||||
run: |
|
run: |
|
||||||
cargo install wasm-pack
|
yarn global add wasm-pack
|
||||||
- name: Build wasm
|
- name: Build wasm
|
||||||
run: |
|
run: |
|
||||||
cd crates/unitdc-web && wasm-pack build --target web
|
cd crates/unitdc-web && wasm-pack build --target web
|
||||||
|
|
Loading…
Add table
Reference in a new issue