Python POC for GitHub-based API Reviews (Phase 1) #16
Workflow file for this run
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: API.md Workflow Unit Tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - "scripts/api_md_workflow/**" | |
| - ".github/workflows/api-md-workflow-tests.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| - name: Install Node dependencies | |
| run: npm ci | |
| working-directory: scripts/api_md_workflow | |
| - name: Run API.md workflow unit tests | |
| run: npm test | |
| working-directory: scripts/api_md_workflow |