feat(Metaculus): wire Metaculus exchange into package, server, docs, and compliance #10
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: Verify Compliance Matrix | |
| on: | |
| pull_request: | |
| jobs: | |
| verify: | |
| name: Verify COMPLIANCE.md is up-to-date | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Regenerate compliance matrix | |
| run: node core/scripts/generate-compliance.js | |
| - name: Check if COMPLIANCE.md changed | |
| run: | | |
| if git diff --exit-code core/COMPLIANCE.md; then | |
| echo "COMPLIANCE.md is up-to-date" | |
| else | |
| echo "COMPLIANCE.md is out of sync with exchange implementations" | |
| echo "Run: npm run generate:compliance --workspace=pmxt-core" | |
| exit 1 | |
| fi |