lib_um_crypto_rust/.drone.yml
鲁树人 0edf20354f
All checks were successful
continuous-integration/drone/push Build is passing
ci: change dir when building node package & pack
2024-09-24 20:41:36 +01:00

22 lines
475 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build (rust)
image: rust:1.81-bookworm
commands:
- cargo test --verbose --all
- 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)
- name: build (node)
image: node:22.9-bookworm
commands:
- corepack enable
- cd um_wasm_loader
- pnpm i
- BUILD_SKIP_WASM_PACK=1 pnpm build
- pnpm pack