From 524f86bde1419315bc52c1cfbdc2e3a2f385d39e Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Tue, 18 Jun 2024 13:37:54 -0400 Subject: [PATCH] chore: add typescript compilation to build script --- .github/scripts/libmongocrypt.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/libmongocrypt.mjs b/.github/scripts/libmongocrypt.mjs index 7299ac1..54284cb 100644 --- a/.github/scripts/libmongocrypt.mjs +++ b/.github/scripts/libmongocrypt.mjs @@ -229,6 +229,8 @@ async function main() { // The prebuild command will make both a .node file in `./build` (local and CI testing will run on current code) // it will also produce `./prebuilds/mongodb-client-encryption-vVERSION-napi-vNAPI_VERSION-OS-ARCH.tar.gz`. await run('npm', ['run', 'prebuild']); + // Compile Typescript + await run('npm', ['run', 'prepare']); if (process.platform === 'darwin') { // The "arm64" build is actually a universal binary