feat: Refactor user info retrieval to use async/await and improve err… #71
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
| # @ai-generated: true | |
| # @ai-tool: Copilot | |
| name: Governance Smoke Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/**' | |
| - 'tests/governance/**' | |
| push: | |
| paths: | |
| - '.github/workflows/**' | |
| - 'tests/governance/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| node-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Run governance smoke tests (if present) | |
| shell: bash | |
| run: | | |
| if [ -f tests/governance/smoke.test.js ]; then | |
| node tests/governance/smoke.test.js | |
| else | |
| echo "No governance smoke test found; skipping" | |
| fi |