Skip to content

A fast, helpful, and open-source document parser

chore: try make the musl load error explicit in smoke test

Clelia (Astra) Bertelli606162c0044d
diff --git a/.github/workflows/ci-node.yml b/.github/workflows/ci-node.yml
index 5a12485..7dbba8c 100644
--- a/.github/workflows/ci-node.yml
+++ b/.github/workflows/ci-node.yml
@@ -197,14 +197,9 @@ jobs:
- name: Smoke test (musl container)
if: ${{ matrix.use-container }}
run: |
+ chmod +x scripts/smoke-test-musl-node.sh
docker run --rm \
-v "$GITHUB_WORKSPACE":/work \
-w /work/packages/node \
node:20-alpine \
- node -e "
- import('./dist/lib.js').then(async ({ LiteParse }) => {
- const p = new LiteParse({ ocrEnabled: false, quiet: true });
- console.log('Config:', JSON.stringify(p.getConfig()));
- console.log('Native module loaded successfully');
- });
- "
+ /work/scripts/smoke-test-musl-node.sh