Skip to content

Add labelPlacement prop to IconButton and ToggleButton componen… #569

Add labelPlacement prop to IconButton and ToggleButton componen…

Add labelPlacement prop to IconButton and ToggleButton componen… #569

name: CD
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
NPM_CONFIG_PROVENANCE: true
jobs:
release:
name: Release
if: github.repository == 'iTwin/stratakit'
runs-on: ubuntu-latest
permissions:
contents: write # for pushing commits/tags
id-token: write # for npm provenance
pull-requests: write # for creating PRs
steps:
- name: Checkout Repo
uses: actions/checkout@v6
# with:
# token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }}
- uses: pnpm/action-setup@v5
with:
version: 10.30.1
- name: Use Node 22.x
uses: actions/setup-node@v6
with:
node-version: 22.x
cache: "pnpm"
- run: pnpm install
- name: Create release PR or publish to npm
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0
with:
version: pnpm run changeset:version
publish: pnpm run changeset:publish
title: Release packages
commit: Release packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }}
GIT_AUTHOR_NAME: github-actions[bot]
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: github-actions[bot]
GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com