Changeset for gemini support #180
This file contains 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: Release | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
permissions: | |
contents: write | |
packages: write | |
pull-requests: write | |
name: Releasing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install PNPM | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.12.1 | |
run_install: false | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install Dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Build | |
run: pnpm build | |
- name: Create Release Pull Request or Publish to Github Registry | |
uses: changesets/action@v1 | |
with: | |
publish: pnpm ci:publish | |
version: pnpm ci:version | |
commit: 'chore: release package(s)' | |
title: 'chore: release package(s)' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |