ci: strip js binaries

This commit is contained in:
əlemi 2024-09-09 19:58:41 +02:00
parent f8329cb0f1
commit b64ba92382
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -33,7 +33,7 @@ jobs:
node-version: '20' node-version: '20'
- run: npm install - run: npm install
working-directory: dist/js/publish 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 working-directory: dist/js/publish
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
@ -55,7 +55,7 @@ jobs:
node-version: '20' node-version: '20'
- run: npm install - run: npm install
working-directory: dist/js/publish 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 working-directory: dist/js/publish
- run: rm codemp.node - run: rm codemp.node
working-directory: dist/js/publish working-directory: dist/js/publish