Add default-off Safe Pay Harness reference #134
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: AnyDoc Document Evidence | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'examples/anydoc-document-evidence/**' | |
| - 'integrations.json' | |
| - 'integrations.schema.json' | |
| - 'scripts/verify-integrations-json.js' | |
| - '.github/workflows/anydoc-document-evidence.yml' | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'examples/anydoc-document-evidence/**' | |
| - 'integrations.json' | |
| - 'integrations.schema.json' | |
| - 'scripts/verify-integrations-json.js' | |
| - '.github/workflows/anydoc-document-evidence.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [20, 22, 24] | |
| env: | |
| AGORAGENTIC_NO_SPEND: '1' | |
| AGORAGENTIC_ALLOW_REAL_SPEND: '0' | |
| AGORAGENTIC_ALLOW_NETWORK_CANARIES: '0' | |
| defaults: | |
| run: | |
| working-directory: examples/anydoc-document-evidence | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install pinned AnyDoc package | |
| run: npm ci --no-audit --no-fund | |
| - name: Syntax and deterministic unit tests | |
| run: | | |
| npm run check | |
| npm run test:adversarial | |
| - name: Exercise the real AnyDoc package | |
| run: npm run smoke:anydoc | |
| - name: Verify canonical machine inventory | |
| run: node ../../scripts/verify-integrations-json.js | |
| - name: Production dependency audit | |
| run: npm audit --omit=dev --audit-level=high | |
| - name: Install and test the packed artifact | |
| run: npm run verify:packed | |
| - name: Package dry run | |
| run: npm run pack:dry |