docs(readme): showcase site moved to cli.drbaher.com #19
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| node: [18, 20, 22] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install LibreOffice (Ubuntu) | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends libreoffice | |
| - run: npm ci || npm install | |
| - run: npm test | |
| - name: Smoke-test the published bin layout | |
| if: matrix.os == 'ubuntu-latest' && matrix.node == '20' | |
| run: | | |
| npm pack | |
| npm install -g docx2pdf-cli-*.tgz | |
| docx2pdf --version | |
| docx2pdf --doctor |