Skip to content

⚠️ Release

⚠️ Release #40

Workflow file for this run

name: ⚠️ Release
on:
workflow_dispatch:
inputs:
mode:
type: choice
description: Bump version as requested
required: true
options:
- patch
- minor
- alpha
- major
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- uses: taiga-family/ci/actions/setup/variables@v1.85.0
- uses: taiga-family/ci/actions/setup/node@v1.85.0
- uses: taiga-family/ci/actions/run/release-it@v1.85.0
with:
ref: ${{ github.ref }}
mode: ${{ github.event.inputs.mode }}
npmToken: ${{ secrets.NPM_TOKEN }}
githubToken: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- uses: taiga-family/ci/actions/run/read-package-json@v1.85.0
id: info
- name: Announce to Telegram
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.85.0
with:
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }}
topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }}
token: ${{ secrets.TAIGA_TELEGRAM_BOT_TOKEN }}
version: v${{ steps.info.outputs.version }}
textLink: '@maskito/core'
concurrency:
group: release-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true