Compare commits
2 Commits
a7f2a273d4
...
04c63c5af9
Author | SHA1 | Date | |
---|---|---|---|
04c63c5af9 | |||
a7ca8aecac |
@ -10,10 +10,14 @@ when:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: build (rust)
|
- name: test
|
||||||
image: rust:1.81-bookworm
|
image: rust:1.81-bookworm
|
||||||
commands:
|
commands:
|
||||||
- cargo test --verbose --all
|
- cargo test --verbose --all
|
||||||
|
|
||||||
|
- name: build (wasm_pack)
|
||||||
|
image: rust:1.81-bookworm
|
||||||
|
commands:
|
||||||
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||||
- (cd um_wasm && wasm-pack build --release --target web --out-dir ../um_wasm_loader/pkg)
|
- (cd um_wasm && wasm-pack build --release --target web --out-dir ../um_wasm_loader/pkg)
|
||||||
|
|
||||||
@ -22,6 +26,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
NPM_TOKEN:
|
NPM_TOKEN:
|
||||||
from_secret: NPM_TOKEN
|
from_secret: NPM_TOKEN
|
||||||
|
depends_on:
|
||||||
|
- "build (wasm_pack)"
|
||||||
commands:
|
commands:
|
||||||
- corepack enable
|
- corepack enable
|
||||||
- cd um_wasm_loader
|
- cd um_wasm_loader
|
||||||
|
0
um_wasm_loader/ci_publish.sh
Normal file → Executable file
0
um_wasm_loader/ci_publish.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user