ci: parallel test and build
This commit is contained in:
parent
a7ca8aecac
commit
04c63c5af9
@ -10,10 +10,14 @@ when:
|
||||
|
||||
steps:
|
||||
|
||||
- name: build (rust)
|
||||
- name: test
|
||||
image: rust:1.81-bookworm
|
||||
commands:
|
||||
- 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
|
||||
- (cd um_wasm && wasm-pack build --release --target web --out-dir ../um_wasm_loader/pkg)
|
||||
|
||||
@ -22,6 +26,8 @@ steps:
|
||||
environment:
|
||||
NPM_TOKEN:
|
||||
from_secret: NPM_TOKEN
|
||||
depends_on:
|
||||
- "build (wasm_pack)"
|
||||
commands:
|
||||
- corepack enable
|
||||
- cd um_wasm_loader
|
||||
|
Loading…
Reference in New Issue
Block a user