Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,22 @@ jobs:
env:
LIGHT_OCR_SMOKE_FIXTURE: ${{ github.workspace }}/corpus/fixtures/generated-hello-123
run: node smoke.cjs
- name: Install and smoke the explicit Document preview
- name: Install and smoke the explicit Document preview (Unix)
if: runner.os != 'Windows'
shell: bash
working-directory: package-smoke
run: |
npm install --no-audit --no-fund --package-lock=false \
../dist/release/arcships-light-ocr-document-0.1.0.tgz
node ../tools/npm/document-smoke.cjs
- name: Install and smoke the explicit Document preview (Windows)
if: runner.os == 'Windows'
shell: pwsh
working-directory: package-smoke
run: |
npm install --no-audit --no-fund --package-lock=false `
../dist/release/arcships-light-ocr-document-0.1.0.tgz
node ../tools/npm/document-smoke.cjs
- name: Install and smoke preview tiers
if: matrix.preview
shell: bash
Expand Down
4 changes: 4 additions & 0 deletions packages/light-ocr-document/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ checksum-verified prebuilt binary for supported platforms and may require a
compiler if no prebuild is available. Processing does not upload documents or
use a network service.

On Windows, install from PowerShell or Command Prompt. The pinned renderer's
installer invokes `tar` with native Windows paths; Git Bash may resolve its own
GNU tar first and misinterpret the drive-letter colon.

```js
const { recognizeDocument } = require('@arcships/light-ocr-document');

Expand Down
Loading