Skip to content

chore(release): 8.2.11 #270

chore(release): 8.2.11

chore(release): 8.2.11 #270

Workflow file for this run

name: Build and publish
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
tags:
- "*"
jobs:
# Tests already passed before tag was created, so just build and deploy
deploy:
runs-on: ubuntu-latest
name: "Build and publish to npm"
permissions:
contents: write
id-token: write
steps:
- name: Check out
uses: actions/checkout@v6
with:
fetch-depth: 0
filter: blob:none
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
id: install_code
run: bun i
- name: Build
id: build_code
run: bun run build
- name: Generate AI changelog
id: changelog
uses: mistricky/ccc@v0.2.6
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
model: claude-sonnet-4-5-20250929
- uses: js-devtools/npm-publish@v4
if: ${{ !contains(github.ref, '-alpha.') }}
with:
token: ${{ secrets.NPM_TOKEN }}
provenance: true
- uses: js-devtools/npm-publish@v4
if: ${{ contains(github.ref, '-alpha.') }}
with:
token: ${{ secrets.NPM_TOKEN }}
tag: next
provenance: true
- name: Create GitHub release
id: create_release
uses: softprops/action-gh-release@v2
with:
body: |
## 🆕 Changelog
${{ steps.changelog.outputs.result }}
---
🔗 **Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.changelog.outputs.from_tag }}...${{ steps.changelog.outputs.to_tag }}
make_latest: true
token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'
prerelease: ${{ contains(github.ref, '-alpha.') }}