Skip to content

feat(sdk): add release notes and align Anthropic client behavior #33

feat(sdk): add release notes and align Anthropic client behavior

feat(sdk): add release notes and align Anthropic client behavior #33

Workflow file for this run

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'