diff --git a/keyserver/addons/rust-node-addon/package.json b/keyserver/addons/rust-node-addon/package.json --- a/keyserver/addons/rust-node-addon/package.json +++ b/keyserver/addons/rust-node-addon/package.json @@ -34,7 +34,7 @@ "scripts": { "artifacts": "napi artifacts", "build": "yarn install-ci-deps && napi build --platform napi --release", - "build:debug": "napi build --platform napi", + "build:debug": "yarn install-ci-deps && napi build --platform napi", "version": "napi version", "postinstall": "bash ./postinstall.sh", "clean": "rm -rf target/ && rm -rf napi/ && rm -rf node_modules/", diff --git a/keyserver/addons/rust-node-addon/postinstall.sh b/keyserver/addons/rust-node-addon/postinstall.sh --- a/keyserver/addons/rust-node-addon/postinstall.sh +++ b/keyserver/addons/rust-node-addon/postinstall.sh @@ -7,4 +7,4 @@ exit 0 fi -yarn build +yarn build:debug