Skip to content

Allow changing typography on label (#1635) #708

Allow changing typography on label (#1635)

Allow changing typography on label (#1635) #708

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@v7
# with:
# token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }}
- uses: pnpm/action-setup@v6
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@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.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