Repository navigation
feat(sdk): add release notes and align Anthropic client behavior #33
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: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: ['20.12', '22.x', '24.x'] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: npm | |
| - run: npm ci | |
| # typecheck resolves `qca-sdk` through package exports, so dist must exist first. | |
| - run: npm run build | |
| - run: npm run typecheck | |
| - run: npm test | |
| - run: npm pack --dry-run | |
| docs-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: '22.x' | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm run docs:check | |
| release-notes: | |
| name: release-notes | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - name: Validate changelog | |
| run: python3 .github/scripts/release_notes.py check | |
| - name: Test release notes automation | |
| run: python3 -m unittest discover -s .github/scripts -p 'test_*.py' |