Skip to content

chore(release): 2.5.0 #55

chore(release): 2.5.0

chore(release): 2.5.0 #55

Workflow file for this run

name: Publish Maskito packages
on:
push:
branches: ['release/*']
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
env:
NX_SKIP_NX_CACHE: true
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
with:
fetch-depth: 0
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/config/[email protected]
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Build publishable libraries
run: npx nx run-many --target build --all --exclude=demo
- name: Publish libraries
run: npx nx run-many --target publish --all --exclude=demo
- name: Get new version
id: info
run: echo "version=v$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
- name: Announce to Telegram
uses: taiga-family/ci/actions/messenger/telegram/[email protected]
with:
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }}
topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }}
token: ${{ secrets.TAIGA_TELEGRAM_BOT_TOKEN }}
version: ${{ steps.info.outputs.version }}
textLink: '@maskito/core'
concurrency:
group: release-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true