-
Notifications
You must be signed in to change notification settings - Fork 471
50 lines (43 loc) · 1.58 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: ⚠️ Publish Taiga UI 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.TAIGA_UI_SCOPE_NPM_TOKEN }}
- name: Build publishable libraries
run: npm run run-many:build:libs
- name: Publish libraries
run: npm run run-many:publish:libs
- name: Get new version
id: info
run: echo "version=v$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
- name: Announce to Time messenger
uses: taiga-family/ci/actions/messenger/time/[email protected]
with:
url: ${{ secrets.ANNOUNCE_WEBHOOK }}
channel: ${{ secrets.ANNOUNCE_TARGET }}
version: ${{ steps.info.outputs.version }}
- name: Announce to Telegram messenger
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: '@taiga-ui/cdk'
concurrency:
group: release-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true