Repository navigation
fix(sdk): warn for silently dropped skill, command, and hook options … #21
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: Publish | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: publish-${{ github.ref }} | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # push the version branch + git tags | |
| pull-requests: write # open/update the Version Packages PR | |
| id-token: write # npm trusted publishing (OIDC) — no NPM_TOKEN needed | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| # Commit/push the version PR as the bot so commit-check ignores it. | |
| - name: Configure git identity | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| # Tegami publishes whatever is on disk — build the SDK first. | |
| - name: Build | |
| run: pnpm turbo build --filter=@jalco/ap-sdk | |
| # Versions if changelogs are pending (opens a Version Packages PR), | |
| # otherwise publishes from the committed publish lock. | |
| - name: Version & publish | |
| run: pnpm tegami ci | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} |