Repository navigation
Commit da16d23
ci(tests): build the auth and profile bindings before the test run
`pnpm run test` now reaches the @cipherstash/auth and
@cipherstash/profile vitest suites, which load the napi module. Their
`test` scripts do not build it, and nothing else in run-tests does, so
profile-store.test.ts failed with "Failed to load native binding for
linux-x64" on this PR (Run Tests, Node 22 and 24).
run-tests now builds both bindings with `build:debug` after the
protect-ffi binding, before the test steps. The previous commit has
`build:debug` write its typings to the committed native.d.ts, so the
build leaves the tree clean. This step and that fix came from the CI
port (#1003); they land here because this PR merges first and has to
pass on its own.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PaY5xYydZUWhv8Nex9Sw8a1 parent 5b2ab5f commit da16d23
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
139 | 148 | | |
140 | 149 | | |
141 | 150 | | |
| |||
0 commit comments