Skip to content

chore(v2): release 2.3.2 #205

chore(v2): release 2.3.2

chore(v2): release 2.3.2 #205

Workflow file for this run

name: CI
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
checks: write # needed for checks
id-token: write # needed for npm publish with provenance
contents: write # needed for github release
pull-requests: write # needed for coverage comment
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: Install
run: pnpm install
- name: Lint
run: pnpm lint:ci
- name: Format
run: pnpm format:ci
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Test
run: pnpm test
preview:
name: Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Publish Preview
run: npx pkg-pr-new publish --pnpm --packageManager=pnpm
# Maintenance line for the 2.x releases (AI SDK v5/v6), cut from the `v2` branch.
# Uses the default release-please-config.json / .release-please-manifest.json,
# which on this branch track the 2.x line. On merge it tags + creates a GitHub
# Release, which this branch's release.yml publishes under the `ai-v6`
# dist-tag so it stays off `latest`.
release-v2:
name: Release v2
runs-on: ubuntu-latest
needs: [lint, test]
if: github.ref == 'refs/heads/v2'
steps:
# https://github.com/googleapis/release-please-action
- name: Release Please
uses: googleapis/release-please-action@v5
with:
# https://github.com/googleapis/release-please-action?tab=readme-ov-file#github-credentials
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
target-branch: v2