Skip to content

Commit 1ee8895

Browse files
authored
chore: add typescript compilation to build script (#23)
1 parent 95849dd commit 1ee8895

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/scripts/libmongocrypt.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ async function main() {
229229
// The prebuild command will make both a .node file in `./build` (local and CI testing will run on current code)
230230
// it will also produce `./prebuilds/mongodb-client-encryption-vVERSION-napi-vNAPI_VERSION-OS-ARCH.tar.gz`.
231231
await run('npm', ['run', 'prebuild']);
232+
// Compile Typescript
233+
await run('npm', ['run', 'prepare']);
232234

233235
if (process.platform === 'darwin') {
234236
// The "arm64" build is actually a universal binary

0 commit comments

Comments
 (0)