CI - move pnpm build into cargo ci test (#4855)

# Description of Changes

To make `cargo ci test` more properly include the full test logic.

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

# Expected complexity level and risk

1

# Testing

honestly none

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
This commit is contained in:
Zeke Foppa
2026-04-21 15:23:07 -05:00
committed by GitHub
parent 1c10afea0b
commit ea834acb79
2 changed files with 2 additions and 4 deletions
-4
View File
@@ -255,10 +255,6 @@ jobs:
wasm-bindgen --version
- name: Build typescript module sdk
working-directory: crates/bindings-typescript
run: pnpm build
# Source emsdk environment to make emcc (Emscripten compiler) available in PATH.
- name: Run tests
run: |
+2
View File
@@ -306,6 +306,8 @@ fn main() -> Result<()> {
match cli.cmd {
Some(CiCmd::Test) => {
cmd!("pnpm", "build").dir("crates/bindings-typescript").run()?;
// TODO: This doesn't work on at least user Linux machines, because something here apparently uses `sudo`?
// Exclude smoketests from `cargo test --all` since they require pre-built binaries.