Release 0.2.2: re-benchmark with all latest competitor versions #45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Check shell syntax | |
| run: npm run check | |
| - name: Verify installer copies local wrapper | |
| run: | | |
| tmpdir="$(mktemp -d)" | |
| INSTALL_DIR="$tmpdir/bin" ./install.sh | |
| test -x "$tmpdir/bin/pdf-to-markdown" | |
| - name: Verify npm pack surface | |
| run: npm pack --dry-run |