Skip to content

Add option to disable button based filtering (#840) #426

Add option to disable button based filtering (#840)

Add option to disable button based filtering (#840) #426

name: Release packages (changeset)
on:
push:
branches:
- master
- stable
env:
NPM_CONFIG_PROVENANCE: true
HUSKY: 0
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }}
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Create release PR or publish to npm
uses: changesets/action@v1
with:
publish: pnpm release
title: Release packages [publish docs]
commit: Release packages [publish docs]
env:
GITHUB_TOKEN: ${{ secrets.IMJS_ADMIN_GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }}
GIT_AUTHOR_NAME: imodeljs-admin
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: imodeljs-admin
GIT_COMMITTER_EMAIL: [email protected]