Commit 9882f5d
authored
fix(publish): build native addon from source in preflight (#954)
The preflight job ran `npm install && npm test` against the last-published
native binary, while WASM ran from current source. When a PR updated both
extractors in lockstep, the parity test would pass on CI (which rebuilds
native from source) but fail on every subsequent publish run until the
next release caught up.
Mirror the ci.yml `parity` job pattern: compile the native addon from the
current Rust source, copy it over the installed platform binary via
ci-install-native.mjs, then run tests. WASM and native now come from the
same commit.1 parent fe62f5c commit 9882f5d
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
34 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
35 | 59 | | |
36 | 60 | | |
37 | 61 | | |
| |||
0 commit comments