From b64ba923823ee90d345271e3fd9550981f58d157 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 9 Sep 2024 19:58:41 +0200 Subject: [PATCH] ci: strip js binaries --- .github/workflows/javascript.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index 899b05b..825e664 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -33,7 +33,7 @@ jobs: node-version: '20' - run: npm install working-directory: dist/js/publish - - run: npx napi build --cargo-cwd=../../.. --platform --release --features=js + - run: npx napi build --cargo-cwd=../../.. --platform --release --features=js --strip working-directory: dist/js/publish - uses: actions/upload-artifact@v4 with: @@ -55,7 +55,7 @@ jobs: node-version: '20' - run: npm install working-directory: dist/js/publish - - run: npx napi build --cargo-cwd=../../.. --release --features=js + - run: npx napi build --cargo-cwd=../../.. --features=js working-directory: dist/js/publish - run: rm codemp.node working-directory: dist/js/publish